reverting unnecessary move

This commit is contained in:
Michaela Brydon 2024-04-09 15:22:05 -04:00
parent 0b8bdda34a
commit 7aebf244b7

View file

@ -189,13 +189,13 @@ export default {
}; };
}, },
computed: { computed: {
showDeductibleCartItem() {
return !useMainStore().isNoComp && !useMainStore().isITAC;
},
deductible() { deductible() {
// Note: added as computed so it can be used in the template. // Note: added as computed so it can be used in the template.
return useMainStore().order.currentDeductible; return useMainStore().order.currentDeductible;
}, },
showDeductibleCartItem() {
return !useMainStore().isNoComp && !useMainStore().isITAC;
},
recycleFeeLineItem() { recycleFeeLineItem() {
return useMainStore().lineItems.supportingItems return useMainStore().lineItems.supportingItems
?.find((lineItem) => lineItem.partNumber === partNumberStrings.RECYCLE_FEE); ?.find((lineItem) => lineItem.partNumber === partNumberStrings.RECYCLE_FEE);