This commit is contained in:
Jeremy Zimmerman 2022-12-12 15:55:39 -05:00
parent d437196d11
commit 77feda4899

View file

@ -3,7 +3,7 @@ import { useMainStore } from '@/store';
export function fetchCmsContentForPage(issPage) { export function fetchCmsContentForPage(issPage) {
const store = useMainStore() const store = useMainStore()
const clientName = "ClientOverrideTest";//store.issConfig.clientName; const clientName = store.issConfig.clientName;
const clientOverride = (clientName.length > 0); const clientOverride = (clientName.length > 0);
return store.getPageData(issPage) return store.getPageData(issPage)
@ -40,7 +40,7 @@ export function fetchCmsContentForPage(issPage) {
// clientResponse = contains the widgets from the client override page. (null if none) // clientResponse = contains the widgets from the client override page. (null if none)
function processPageData(baseResponse, clientResponse) { function processPageData(baseResponse, clientResponse) {
const pageDataFromCms = {}; const pageDataFromCms = {};
const widgets = []; let widgets = [];
if ( clientResponse === null ) if ( clientResponse === null )
{ {