Removing comments

This commit is contained in:
brydon1 2023-08-31 09:40:30 -04:00
parent 81e6e3a9a6
commit df86541d30

View file

@ -88,11 +88,8 @@ router.afterEach(async (to, from) => {
// Update lastPageVisited in the store
store.updateLastPageVisited(to.name);
await store.saveSession()?.catch(() => {
console.log("failed :(");
if(from.name === issPageValues.WELCOME_PAGE) {
console.log("welcome!");
router.navigate(navigationScenarios.SAVE_SESSION_FAILED, {query: {issPage: issPageValues.WELCOME_PAGE}})
// TODO bail out if save session fails
}
});