Explicitly redirect to confirmation rather than cancelling nav.
This commit is contained in:
parent
1f59e6f023
commit
42025313b5
1 changed files with 3 additions and 1 deletions
|
|
@ -49,7 +49,9 @@ export async function beforeEach(to, from) {
|
||||||
const exceptionPages = [FUNNEL_START_PAGE.name, routeData.CONFIRMATION.name];
|
const exceptionPages = [FUNNEL_START_PAGE.name, routeData.CONFIRMATION.name];
|
||||||
|
|
||||||
if (!exceptionPages.some((name) => to.name === name) && !isVirtualRoute(to.name)) {
|
if (!exceptionPages.some((name) => to.name === name) && !isVirtualRoute(to.name)) {
|
||||||
return false;
|
return {
|
||||||
|
name: routeData.CONFIRMATION.name,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue