CASH-2025: add null check
This commit is contained in:
parent
3fb0aa82ee
commit
4eefa6963f
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ export default {
|
||||||
const nullSafeGlassParts = lineItems.glassParts ?? [];
|
const nullSafeGlassParts = lineItems.glassParts ?? [];
|
||||||
|
|
||||||
const oemGlassCheck = resultMap.oemGlassCheck;
|
const oemGlassCheck = resultMap.oemGlassCheck;
|
||||||
const offerOem = experimentAllowsOfferOem ? oemGlassCheck.offerOem : false;
|
const offerOem = experimentAllowsOfferOem ? oemGlassCheck?.offerOem : false;
|
||||||
const oemGlassPieceParts = oemGlassCheck?.glassPieceParts;
|
const oemGlassPieceParts = oemGlassCheck?.glassPieceParts;
|
||||||
const oemGlassParts = oemGlassPieceParts ? oemGlassPieceParts[0].parts : null;
|
const oemGlassParts = oemGlassPieceParts ? oemGlassPieceParts[0].parts : null;
|
||||||
const isOemGlassSelected = store.getters.order.isOemGlassSelected;
|
const isOemGlassSelected = store.getters.order.isOemGlassSelected;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue