Removing comments
This commit is contained in:
parent
81e6e3a9a6
commit
df86541d30
1 changed files with 0 additions and 3 deletions
|
|
@ -88,11 +88,8 @@ router.afterEach(async (to, from) => {
|
||||||
// Update lastPageVisited in the store
|
// Update lastPageVisited in the store
|
||||||
store.updateLastPageVisited(to.name);
|
store.updateLastPageVisited(to.name);
|
||||||
await store.saveSession()?.catch(() => {
|
await store.saveSession()?.catch(() => {
|
||||||
console.log("failed :(");
|
|
||||||
if(from.name === issPageValues.WELCOME_PAGE) {
|
if(from.name === issPageValues.WELCOME_PAGE) {
|
||||||
console.log("welcome!");
|
|
||||||
router.navigate(navigationScenarios.SAVE_SESSION_FAILED, {query: {issPage: issPageValues.WELCOME_PAGE}})
|
router.navigate(navigationScenarios.SAVE_SESSION_FAILED, {query: {issPage: issPageValues.WELCOME_PAGE}})
|
||||||
// TODO bail out if save session fails
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue