Remove unneeded draft
This commit is contained in:
parent
4d47b27308
commit
8db1ad4ef2
1 changed files with 0 additions and 11 deletions
|
|
@ -534,17 +534,6 @@ export const getters = {
|
||||||
);
|
);
|
||||||
return !!nonWindshieldItems?.length;
|
return !!nonWindshieldItems?.length;
|
||||||
},
|
},
|
||||||
isRecalibrationOnOrderDraft: (state) => {
|
|
||||||
const itemsToCheck = [
|
|
||||||
...(state.order.lineItems.glassParts ?? []),
|
|
||||||
...(state.order.lineItems.supportingItems ?? []),
|
|
||||||
];
|
|
||||||
|
|
||||||
return itemsToCheck.some(
|
|
||||||
(lineItem) =>
|
|
||||||
lineItem.partType.toUpperCase() === partTypeStrings.RECALIBRATION.toUpperCase()
|
|
||||||
);
|
|
||||||
},
|
|
||||||
isRecalibrationOnOrder: (state) => {
|
isRecalibrationOnOrder: (state) => {
|
||||||
return getHasRecalibrationPart(state);
|
return getHasRecalibrationPart(state);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue