CSR-504 | Fixing defect regarding repair work flow
Make glassParts nullsafe
This commit is contained in:
parent
181de2d386
commit
251469144f
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ export default {
|
||||||
];
|
];
|
||||||
|
|
||||||
const resultMap = await settleAllPromises(promiseResultMap);
|
const resultMap = await settleAllPromises(promiseResultMap);
|
||||||
const glassParts = [...store.getters.order.lineItems.glassParts];
|
const glassParts = store.getters.order.lineItems.glassParts ?? [];
|
||||||
const availableLineItems = [
|
const availableLineItems = [
|
||||||
resultMap.rainDefense,
|
resultMap.rainDefense,
|
||||||
...resultMap.supportingItems,
|
...resultMap.supportingItems,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue