CASH-2025: another null check
This commit is contained in:
parent
48616d1fca
commit
dfe1ac94dc
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ export default {
|
||||||
oemGlassPieceParts && oemGlassPieceParts.length > 0
|
oemGlassPieceParts && oemGlassPieceParts.length > 0
|
||||||
? oemGlassPieceParts[0].parts
|
? oemGlassPieceParts[0].parts
|
||||||
: null;
|
: null;
|
||||||
const isOemGlassSelected = store.getters.order.damage.installOemGlass ?? false;
|
const isOemGlassSelected = store.getters.order.damage?.installOemGlass ?? false;
|
||||||
|
|
||||||
let alternateGlassPartsForOem;
|
let alternateGlassPartsForOem;
|
||||||
if (oemGlassParts) alternateGlassPartsForOem = oemGlassParts;
|
if (oemGlassParts) alternateGlassPartsForOem = oemGlassParts;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue