CSR-1552 removing code related to defect. Possibly working as designed

This commit is contained in:
CarlNation 2023-07-21 09:14:08 -04:00
parent 1a1ee19786
commit b792b21ac2
2 changed files with 4 additions and 2 deletions

View file

@ -150,7 +150,7 @@ export default {
(store.getters.order.damage.isRepair ||
(store.getters.order.lineItems?.glassParts != null &&
store.getters.order.lineItems.glassParts.length > 0)) &&
!store.getters.payment.insuranceCoverage.isVerified
store.getters.order.referralNumber?.length !== 6
);
},
getDefaultIsInsuranceSelectedValue(availableLineItems) {

View file

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