Merge branch 'release/2025.05.22' into nation/debugHeritageIns
This commit is contained in:
commit
03a6387331
1 changed files with 7 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import { buildManualUrl } from "@/router/methods/helpers/build-manual-url";
|
||||||
import { getDestination } from "@/router/methods/helpers/get-destination";
|
import { getDestination } from "@/router/methods/helpers/get-destination";
|
||||||
import { savePageData } from "@/router/methods/helpers/save-page-data";
|
import { savePageData } from "@/router/methods/helpers/save-page-data";
|
||||||
import router from "@/router";
|
import router from "@/router";
|
||||||
|
import store from "@/store";
|
||||||
|
|
||||||
import { bailout } from "@/router/methods/error";
|
import { bailout } from "@/router/methods/error";
|
||||||
|
|
||||||
|
|
@ -34,7 +35,12 @@ async function navigate(scenario, currentPageName, withSaving = false, forceTopL
|
||||||
}
|
}
|
||||||
|
|
||||||
if (withSaving) {
|
if (withSaving) {
|
||||||
await saveSession({ pageNameToLog: nextPage.name });
|
if (
|
||||||
|
store.getters?.applicationUser?.savedSessionId ||
|
||||||
|
store.getters?.order?.customer?.emailAddress
|
||||||
|
) {
|
||||||
|
await saveSession({ pageNameToLog: nextPage.name });
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Some pages require manually setting the next url
|
// Some pages require manually setting the next url
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue