CSR-999 | GetSupporting items not running with repairs

This commit is contained in:
Scott Kiener 2022-12-27 16:04:07 -05:00
parent 75af7e9365
commit a3365bc299

View file

@ -909,10 +909,7 @@ export const actions = {
},
getSupportingItems(context) {
const glassPartsArray = context.getters.lineItems.glassParts;
if (!glassPartsArray) {
return [];
}
const glassPartsArray = context.getters.lineItems.glassParts ?? [];
const carId = context.getters.vehicle.carId;
const isRepair = context.getters.damage.isRepair;
const numberOfChips = context.getters.damage.numberOfChips;