Merge pull request #88 from Safelite/refactor/change-to-PAGE_QUERYSTRING
Change to a more accurate variable name
This commit is contained in:
commit
4bdcea9f9d
2 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ const applicationConfig = {
|
|||
APPLICATION_NAME: "SelfService",
|
||||
SITE_ENTRY_TRIGGER_VALUE: "SelfService",
|
||||
APPLICATION_ABBREVIATION: "iss",
|
||||
APPLICATION_QUERYSTRING: 'issPage',
|
||||
PAGE_QUERYSTRING: 'issPage',
|
||||
};
|
||||
|
||||
export { applicationConfig };
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
<span v-else>
|
||||
<router-link
|
||||
:to="{
|
||||
query: { [applicationQueryString]: `${getRouterLinkRouteFromCopy(copy)}` },
|
||||
query: { [pageQueryString]: `${getRouterLinkRouteFromCopy(copy)}` },
|
||||
name: 'root',
|
||||
}"
|
||||
>{{ getRouterLinkDisplayTextFromCopy(copy) }}</router-link
|
||||
|
|
@ -76,8 +76,8 @@ export default {
|
|||
},
|
||||
},
|
||||
computed: {
|
||||
applicationQueryString() {
|
||||
return applicationConfig.APPLICATION_QUERYSTRING;
|
||||
pageQueryString() {
|
||||
return applicationConfig.PAGE_QUERYSTRING;
|
||||
},
|
||||
alertHeadline() {
|
||||
return this.manualHeadline
|
||||
|
|
|
|||
Loading…
Reference in a new issue