From 7abbf7c3cb0da38269aea4cf21172cba71982802 Mon Sep 17 00:00:00 2001 From: FrankRua Date: Fri, 14 Jan 2022 16:40:08 -0500 Subject: [PATCH] Comments --- src/router/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ce7b76bcd..6b4e703fc 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -113,11 +113,10 @@ function navigateToUrl(url) { // This will reach out to the Cms and there is a 1:1 relationship between page names and route names. async function GetRouteInfoFromPageName(pageName) { const response = await store.dispatch(storeActions.GET_ROUTE_INFO_ACTION, { pageName: pageName }); - - // Add our route data and return our array. const jsonFromResponse = JSON.parse(response.data.Result); let routeData = []; + // Add our route data and return our array. Object.keys(jsonFromResponse).forEach((key) => { routeData.push({ path: "/",