Updates.
This commit is contained in:
parent
07a01cd2f8
commit
a575ca628d
1 changed files with 45 additions and 44 deletions
|
|
@ -21,9 +21,10 @@ export function fetchCmsContentForPage(issPage) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function processPageData(response) {
|
// Support method for processing the page data from the CMS call.
|
||||||
|
function processPageData(response) {
|
||||||
const pageDataFromCms = {};
|
const pageDataFromCms = {};
|
||||||
|
|
||||||
response.data.Result.forEach((widget) => {
|
response.data.Result.forEach((widget) => {
|
||||||
|
|
@ -52,7 +53,7 @@ export function fetchCmsContentForPage(issPage) {
|
||||||
});
|
});
|
||||||
|
|
||||||
return pageDataFromCms;
|
return pageDataFromCms;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parent function for processWidgetItemForReplacement. This will loop through the parent
|
// Parent function for processWidgetItemForReplacement. This will loop through the parent
|
||||||
// object and pass any objects that need additional processing to the processWidgetItemForReplacement function.
|
// object and pass any objects that need additional processing to the processWidgetItemForReplacement function.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue