Updates.
This commit is contained in:
parent
bee2b75253
commit
ef077e276f
2 changed files with 0 additions and 5 deletions
|
|
@ -371,7 +371,6 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//await saveSession({ shouldAwaitSaveSessionQueue: true, bailoutOnError: true })
|
|
||||||
this.navigateForward();
|
this.navigateForward();
|
||||||
},
|
},
|
||||||
async configureZip() {
|
async configureZip() {
|
||||||
|
|
|
||||||
|
|
@ -196,18 +196,14 @@ router.afterEach(async (to, from) => {
|
||||||
const shouldRunExperiments = (to.query.issPage !== issPageValues.BAILOUT_PAGE);
|
const shouldRunExperiments = (to.query.issPage !== issPageValues.BAILOUT_PAGE);
|
||||||
|
|
||||||
await analyticsMixin.methods.validateSession();
|
await analyticsMixin.methods.validateSession();
|
||||||
|
|
||||||
console.error("Router parameters", { routerParams: routerParams, toState: to.state });
|
|
||||||
|
|
||||||
const skipSaveSession = !!(
|
const skipSaveSession = !!(
|
||||||
to.state?.[routerParams.SKIP_SAVE_SESSION]
|
to.state?.[routerParams.SKIP_SAVE_SESSION]
|
||||||
?? router.options.history.state?.[routerParams.SKIP_SAVE_SESSION]
|
?? router.options.history.state?.[routerParams.SKIP_SAVE_SESSION]
|
||||||
);
|
);
|
||||||
if (from.name !== undefined && !skipSaveSession && !store.hasSubmittedOrder()) {
|
if (from.name !== undefined && !skipSaveSession && !store.hasSubmittedOrder()) {
|
||||||
console.error('Saving session on route change', { from: from.name, to: to.name, skipSaveSession: skipSaveSession, hasSubmittedOrder: store.hasSubmittedOrder() });
|
|
||||||
await saveSession({ bailoutOnError: from.name === issPageValues.ENTRY_PAGE});
|
await saveSession({ bailoutOnError: from.name === issPageValues.ENTRY_PAGE});
|
||||||
}
|
}
|
||||||
console.error('Skipping saving session on route change', { from: from.name, to: to.name, skipSaveSession: skipSaveSession, hasSubmittedOrder: store.hasSubmittedOrder() });
|
|
||||||
|
|
||||||
document.title = routerTitles[to.query.issPage] || 'Safelite Solutions®';
|
document.title = routerTitles[to.query.issPage] || 'Safelite Solutions®';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue