Merge pull request #1784 from Safelite/feature/CSR-1072

Feature/csr 1072
This commit is contained in:
CarlNation 2024-03-01 15:55:18 -05:00 committed by GitHub
commit 43eb004827
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -72,7 +72,7 @@ const routes = [
// the saveSessionPromise will no longer point to a valid promise
baseMixin.methods.dispatchStoreAction(storeActions.RESET_SAVE_SESSION_PROMISE);
if (!to.query.fmgPage.startsWith("payment")) {
if (!to.query.fmgPage?.startsWith("payment")) {
//payment pages used to return from safelitehop so exclude here
// Remove the parameter after quote release
const loadSessionResponse = await loadSessionIfPresent(

View file

@ -1101,6 +1101,10 @@ export const actions = {
parentAccountNumber,
}
) {
if (!pageName) {
return;
}
var payload = {
userId: userId,
sessionKey: sessionKey,
@ -1149,6 +1153,10 @@ export const actions = {
parentAccountNumber,
}
) {
if (!pageName) {
return;
}
var payload = {
userId: userId,
sessionKey: sessionKey,