CSR-999 | GetSupporting items not running with repairs
This commit is contained in:
parent
75af7e9365
commit
a3365bc299
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue