CSR-1816 | Refresh on payment-method breaks saveSession
Made sure that the saveSessionPromise is not invalidated by a refresh on payment-method
This commit is contained in:
parent
6125d8a00e
commit
637919abd2
1 changed files with 2 additions and 1 deletions
|
|
@ -64,7 +64,8 @@ const routes = [
|
|||
// On entering the funnel "fresh", read cookie information, decide what to do next. payment pages used to return from safelitehop so exclude here
|
||||
else if (
|
||||
from.redirectedFrom === undefined &&
|
||||
!to.query.fmgPage.startsWith("payment")
|
||||
!to.query.fmgPage !== "payment" &&
|
||||
!to.query.fmgPage !== "payment-pia-return"
|
||||
) {
|
||||
// clear the saveSessionPromise - if it exists in the vuex store but a new instance was created
|
||||
// the saveSessionPromise will no longer point to a valid promise
|
||||
|
|
|
|||
Loading…
Reference in a new issue