CSR-1552 removing code related to defect. Possibly working as designed
This commit is contained in:
parent
1a1ee19786
commit
b792b21ac2
2 changed files with 4 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue