Change to a more accurate variable name
From Mark Harris: "... The rationale is that it’s not a querystring for passing the name of the application. It’s a querystring for passing the name of the page. (It just happens to be named after the applications, but that’s more of business requirement ..."
This commit is contained in:
parent
2653e8f8a0
commit
ee564d6d5b
2 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ const applicationConfig = {
|
||||||
APPLICATION_NAME: "SelfService",
|
APPLICATION_NAME: "SelfService",
|
||||||
SITE_ENTRY_TRIGGER_VALUE: "SelfService",
|
SITE_ENTRY_TRIGGER_VALUE: "SelfService",
|
||||||
APPLICATION_ABBREVIATION: "iss",
|
APPLICATION_ABBREVIATION: "iss",
|
||||||
APPLICATION_QUERYSTRING: 'issPage',
|
PAGE_QUERYSTRING: 'issPage',
|
||||||
};
|
};
|
||||||
|
|
||||||
export { applicationConfig };
|
export { applicationConfig };
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
<span v-else>
|
<span v-else>
|
||||||
<router-link
|
<router-link
|
||||||
:to="{
|
:to="{
|
||||||
query: { [applicationQueryString]: `${getRouterLinkRouteFromCopy(copy)}` },
|
query: { [pageQueryString]: `${getRouterLinkRouteFromCopy(copy)}` },
|
||||||
name: 'root',
|
name: 'root',
|
||||||
}"
|
}"
|
||||||
>{{ getRouterLinkDisplayTextFromCopy(copy) }}</router-link
|
>{{ getRouterLinkDisplayTextFromCopy(copy) }}</router-link
|
||||||
|
|
@ -76,8 +76,8 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
applicationQueryString() {
|
pageQueryString() {
|
||||||
return applicationConfig.APPLICATION_QUERYSTRING;
|
return applicationConfig.PAGE_QUERYSTRING;
|
||||||
},
|
},
|
||||||
alertHeadline() {
|
alertHeadline() {
|
||||||
return this.manualHeadline
|
return this.manualHeadline
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue