commit
a3a3476d8f
1 changed files with 2 additions and 2 deletions
|
|
@ -142,7 +142,7 @@ function navigate(scenario, currentRoute, invalidateOnSave, optionalQuery = {},
|
||||||
} else if (matchingScenarioMap.destinationUrl !== undefined) {
|
} else if (matchingScenarioMap.destinationUrl !== undefined) {
|
||||||
navigateToUrl(matchingScenarioMap.destinationUrl);
|
navigateToUrl(matchingScenarioMap.destinationUrl);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
// Get navigation map depending on the scenario and the current 'page' you're on.
|
// Get navigation map depending on the scenario and the current 'page' you're on.
|
||||||
function getNavigationMap(scenario, currentRoute) {
|
function getNavigationMap(scenario, currentRoute) {
|
||||||
|
|
@ -156,7 +156,7 @@ function getNavigationMap(scenario, currentRoute) {
|
||||||
.map((m) => m.maps.filter((map) => map.scenario === scenario));
|
.map((m) => m.maps.filter((map) => map.scenario === scenario));
|
||||||
|
|
||||||
return matchedQueryValue[0][0];
|
return matchedQueryValue[0][0];
|
||||||
};
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------- Private Functions ----------------------------------------------------------
|
//---------------------------------------------------------- Private Functions ----------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue