Added return after 404 redirect.

This commit is contained in:
Jeremy-Z 2026-06-30 10:43:52 -04:00
parent 340cbec043
commit 97be628999

View file

@ -46,6 +46,7 @@ const routes = [
if (getISSCookie() !== null && !isSavedSessionStillActive()) {
// await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE);
await GoToStartOn404(next);
return null;
}
// Process ISS cookie.
@ -66,6 +67,7 @@ const routes = [
if (!arePagePrerequisitesValid(component)) {
await GoToStartOn404(next);
return null;
}
return next({name: issPageToUse, query: to.query, params: to.params, state: to.state});
@ -123,6 +125,7 @@ const routes = [
const tempMsgCopy = 'Pre Requisites failed, need to handle. Default is Welcome Page.';
const tempMsgHeadline = `${issPageToUse}: pre-req failed...`;
await GoToStartOn404(next, tempMsgCopy, tempMsgHeadline);
return null;
}
// Assign current query string parameters, as well as our issPage one.