Add alternate implementation for now
This commit is contained in:
parent
9ddb0d35fb
commit
7d3577d4ac
1 changed files with 4 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ export const getters = {
|
|||
);
|
||||
return !!nonWindshieldItems?.length;
|
||||
},
|
||||
isRecalibrationOnOrder: (state) => {
|
||||
isRecalibrationOnOrderDraft: (state) => {
|
||||
const itemsToCheck = [
|
||||
...(state.order.lineItems.glassParts ?? []),
|
||||
...(state.order.lineItems.supportingItems ?? []),
|
||||
|
|
@ -545,6 +545,9 @@ export const getters = {
|
|||
lineItem.partType.toUpperCase() === partTypeStrings.RECALIBRATION.toUpperCase()
|
||||
);
|
||||
},
|
||||
isRecalibrationOnOrder: (state) => {
|
||||
return getHasRecalibrationPart(state);
|
||||
},
|
||||
areRearWipersOnOrder: (state) => {
|
||||
return !!state.order.lineItems.vaps?.some(
|
||||
(vap) => vap.partType.toUpperCase() === partTypeStrings.REAR_WIPER.toUpperCase()
|
||||
|
|
|
|||
Loading…
Reference in a new issue