Remove unneeded store references

This commit is contained in:
Chloe Herd 2024-07-09 11:29:14 -04:00
parent 58d60a5834
commit 4930b41448

View file

@ -343,7 +343,7 @@ export default {
availableVaps: [], availableVaps: [],
paymentMethodInternalModel: this.getPaymentMethodFromStore(), paymentMethodInternalModel: this.getPaymentMethodFromStore(),
inactivePromos: this.getInactivePromosFromStore(), inactivePromos: this.getInactivePromosFromStore(),
isRecalAckOptIn: this.getIsRecalAckOptInFromStore(), isRecalAckOptIn: false,
}; };
}, },
methods: { methods: {
@ -413,9 +413,6 @@ export default {
return serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs; return serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs;
}, },
getIsRecalAckOptInFromStore() {
return store.getters.order.customer.isRecalAckOptIn;
},
getPaymentMethodFromStore() { getPaymentMethodFromStore() {
const piaType = store.getters.order.payment.piaType; const piaType = store.getters.order.payment.piaType;
const isPia = store.getters.order.payment.isPia && !!piaType; const isPia = store.getters.order.payment.isPia && !!piaType;