diff --git a/src/layouts/welcome-page/welcome-page.vue b/src/layouts/welcome-page/welcome-page.vue index 38b35558..56b6b7f0 100644 --- a/src/layouts/welcome-page/welcome-page.vue +++ b/src/layouts/welcome-page/welcome-page.vue @@ -386,7 +386,9 @@ export default { }, navigateForward() { if ((this.mainStore.applicationUser.duplicateOrders?.length > 0 ?? false) - && !this.answeredContinueModal) { + && !this.mainStore.order.loadedFromCookie) { + // 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. // Duplicate orders found; navigating to duplicate check page and skipping save session. this.$router.navigate( this.navigationScenarios.CLICKED_FORWARD_WITH_DUPLICATES, @@ -498,8 +500,6 @@ export default { }, startNewReferral() { this.mainStore.issConfig.enableContinueFromCookie = false; - // Setting this to true so we skip dupe check since the user already decided not to load the previous referral - this.mainStore.order.loadedFromCookie = true; this.answeredContinueModal = true; this.$refs.continueModal.closeModal(); }