From 760295e3f9cc2edeb15af38b29a1ab221b26da80 Mon Sep 17 00:00:00 2001 From: Jeremy-Z Date: Mon, 6 Jul 2026 13:09:21 -0400 Subject: [PATCH] Fixed issue where picking new referral from cookie popup causes duplicate check page to skip. --- src/layouts/welcome-page/welcome-page.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); }