From 58e13ed503d7150f4e67dd140c3fa7a4f59b89df Mon Sep 17 00:00:00 2001 From: hiteshkumar87 Date: Thu, 14 Nov 2024 18:45:12 +0530 Subject: [PATCH] CSR-2374 Unverified claim should go to heritage on back button from service location page. --- src/layouts/service-location/service-location.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 0f3d45d1a..93bdb6f27 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -515,7 +515,11 @@ export default { }, backButtonAction() { const payment = store.getters.order.payment; - if (payment?.isInsurance && payment?.insuranceCoverage?.isVerified) { + if ( + payment?.isInsurance && + (payment?.insuranceCoverage?.isVerified || + store.getters.order.referralNumber.length === 6) + ) { navigateToHeritageFunnel({ shouldSaveSession: false }); } else { this.$router.navigateWithoutSaving(