CASH-2025: add additional check to avoid Typeerror
This commit is contained in:
parent
4eefa6963f
commit
42645e1760
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ export default {
|
|||
const oemGlassCheck = resultMap.oemGlassCheck;
|
||||
const offerOem = experimentAllowsOfferOem ? oemGlassCheck?.offerOem : false;
|
||||
const oemGlassPieceParts = oemGlassCheck?.glassPieceParts;
|
||||
const oemGlassParts = oemGlassPieceParts ? oemGlassPieceParts[0].parts : null;
|
||||
const oemGlassParts = (oemGlassPieceParts && oemGlassPieceParts.length > 0) ? oemGlassPieceParts[0].parts : null;
|
||||
const isOemGlassSelected = store.getters.order.isOemGlassSelected;
|
||||
|
||||
let alternateGlassPartsForOem;
|
||||
|
|
|
|||
Loading…
Reference in a new issue