Fixed navigation error, we needed to add the 'isSavingNavigation' parameter to the overrideNavigation call in vehicle-style
This commit is contained in:
parent
3175ba4251
commit
c03c406eb2
2 changed files with 3 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ export default {
|
|||
});
|
||||
|
||||
//emulate selecting the vehicle style
|
||||
router.overrideNavigation(navigationScenarios.SELECTED_STYLE, to, next);
|
||||
router.overrideNavigation(navigationScenarios.SELECTED_STYLE, to, next, true);
|
||||
|
||||
} else{
|
||||
next( (vm) => {
|
||||
|
|
|
|||
|
|
@ -160,8 +160,8 @@ router.navigateToExternalUrl = (url, optionalQuery = {}) => {
|
|||
}
|
||||
|
||||
//Use this navigation when you need to call next() explicitly. beforeRouteEnter is a good example.
|
||||
router.overrideNavigation = (scenario, currentRoute, next, optionalQuery = {}, optionalParams = {}, optionalPageData) => {
|
||||
router.navigate(scenario, currentRoute, optionalQuery, optionalParams, optionalPageData);
|
||||
router.overrideNavigation = (scenario, currentRoute, next, isSavingNavigation, optionalQuery = {}, optionalParams = {}, optionalPageData) => {
|
||||
navigate(scenario, currentRoute, isSavingNavigation, optionalQuery, optionalParams, optionalPageData);
|
||||
next();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue