Merge code from ISS to FMG.

This commit is contained in:
Bryan Mauger 2023-01-24 12:07:55 -05:00
parent dfed22aa18
commit e2d17369bb
2 changed files with 6 additions and 1 deletions

View file

@ -7,6 +7,7 @@ const applicationConfig = {
CURRENT_ENVIRONMENT: process.env.VUE_APP_CURRENT_ENVIRONMENT, // "Localhost", "Dev", "QA", and "Prod"
APPLICATION_NAME: "FixMyGlass",
APPLICATION_ABBREVIATION: "fmg",
APPLICATION_QUERYSTRING: 'fmgPage',
SITE_ENTRY_TRIGGER_VALUE: "FixMyGlass",
CASH_ACCOUNT_NUMBER: 167132,
};

View file

@ -19,7 +19,7 @@
<span v-else>
<router-link
:to="{
query: { fmgPage: `${getLinkTargetFromCopy(copy)}` },
query: { [applicationQueryString]: `${getRouterLinkRouteFromCopy(copy)}` },
name: 'root',
}"
>{{ getLinkDisplayTextFromCopy(copy) }}</router-link
@ -45,6 +45,7 @@ import {
getLinkDisplayTextFromCopy,
splitCMSCopyOnParagraphTag,
} from "@/helpers/cms-content-helper";
import { applicationConfig } from '@/constants/application-config';
export default {
name: "alert",
@ -75,6 +76,9 @@ export default {
},
},
computed: {
applicationQueryString() {
return applicationConfig.APPLICATION_QUERYSTRING;
},
alertHeadline() {
return this.manualHeadline
? this.manualHeadline