Merge pull request #2110 from Safelite/CSR-2374

CSR 2374
This commit is contained in:
hiteshkumar87 2024-11-14 18:59:49 +05:30 committed by GitHub
commit 08f0448d96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(