CSR-747 Fix estimate bug

This commit is contained in:
Katie 2022-12-20 12:59:54 -05:00
parent 69e739622a
commit ded8032cd0
2 changed files with 3 additions and 5 deletions

View file

@ -219,10 +219,9 @@ export default {
payment.isInsurance && payment.insuranceCoverage.coverageStatus;
if (vehicleChangedDuringPolicyLookupInHeritage) {
navigateToHeritageFunnel({ loadingModal: this.$refs.loadingModal });
} else if (this.$store.getters.order.referralNumber.length === 6) {
} else if (this.$store.getters.order.referralNumber?.length === 6) {
await this.navigateForwardWithSingleCarMatch();
}
else if (this.isRepair) {
} else if (this.isRepair) {
return this.$router.navigateWithSaving(
this.navigationScenarios.CLICKED_FORWARD_WITH_NO_QUESTIONS,
this.$route

View file

@ -448,8 +448,7 @@ export default {
if (store.getters.order.referralNumber?.length === 6) {
navigateToHeritageFunnel({ loadingModal: self.$refs.loadingModal });
}
else if (payment.isInsurance && payment.insuranceCoverage.isVerified) {
} else if (payment.isInsurance && payment.insuranceCoverage.isVerified) {
navigateToHeritageFunnel({ loadingModal: self.$refs.loadingModal });
} else {
self.$router.navigateWithSaving(