Remove comments
This commit is contained in:
parent
1cbf243543
commit
ec98a1916c
1 changed files with 3 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ const routes = [
|
||||||
// If the saved session has timed out, clear the session, execute 404 logic.
|
// If the saved session has timed out, clear the session, execute 404 logic.
|
||||||
if (getISSCookie() !== null && !isSavedSessionStillActive()) {
|
if (getISSCookie() !== null && !isSavedSessionStillActive()) {
|
||||||
// await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE);
|
// await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE);
|
||||||
await GoToStartOn404(next); // TODO maybe here
|
await GoToStartOn404(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Process ISS cookie.
|
// Process ISS cookie.
|
||||||
|
|
@ -73,7 +73,7 @@ const routes = [
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!arePagePrerequisitesValid(component)) {
|
if (!arePagePrerequisitesValid(component)) {
|
||||||
await GoToStartOn404(next); // TODO maybe here
|
await GoToStartOn404(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
return next({ name: issPageToUse, query: to.query, params: to.params });
|
return next({ name: issPageToUse, query: to.query, params: to.params });
|
||||||
|
|
@ -113,7 +113,7 @@ const routes = [
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
window.console.warn(error);
|
window.console.warn(error);
|
||||||
await GoToStartOn404(next); // TODO maybe here
|
await GoToStartOn404(next);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue