Added duplicate page visit check flag.
This commit is contained in:
parent
760295e3f9
commit
086b1726ac
1 changed files with 2 additions and 1 deletions
|
|
@ -386,7 +386,8 @@ export default {
|
||||||
},
|
},
|
||||||
navigateForward() {
|
navigateForward() {
|
||||||
if ((this.mainStore.applicationUser.duplicateOrders?.length > 0 ?? false)
|
if ((this.mainStore.applicationUser.duplicateOrders?.length > 0 ?? false)
|
||||||
&& !this.mainStore.order.loadedFromCookie) {
|
&& !this.mainStore.order.loadedFromCookie
|
||||||
|
&& !this.mainStore.order.visitedDuplicateCheckPage) {
|
||||||
// NOTE: Only navigate to duplicate check page if the user has not already loaded an
|
// NOTE: Only navigate to duplicate check page if the user has not already loaded an
|
||||||
// existing referral from cookie (continue option from cookie popup) and they have not visited the duplicate check page already.
|
// existing referral from cookie (continue option from cookie popup) and they have not visited the duplicate check page already.
|
||||||
// Duplicate orders found; navigating to duplicate check page and skipping save session.
|
// Duplicate orders found; navigating to duplicate check page and skipping save session.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue