Updated the CMS page override logic to account for the Generic launch case. Now uses account number as additional check.

This commit is contained in:
Jeremy Zimmerman 2023-02-22 15:49:27 -05:00
parent 4a4aa4c2b6
commit 5fa7bdc3c3

View file

@ -4,7 +4,8 @@ import { useMainStore } from '@/store';
export function fetchCmsContentForPage(issPage) {
const store = useMainStore()
const clientName = store.issConfig.clientName;
const clientOverride = (clientName.length > 0);
const accountNumber = store.issConfig.accountNumber;
const clientOverride = (clientName.length > 0 && accountNumber > 0);
return store.getPageData(issPage)
.then(