Merge pull request #88 from Safelite/refactor/change-to-PAGE_QUERYSTRING

Change to a more accurate variable name
This commit is contained in:
Johan Gunawan 2022-12-29 16:03:33 -05:00 committed by GitHub
commit 4bdcea9f9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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 };

View file

@ -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