From 42645e176077d59499d03763b0274712e00c6297 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Mon, 12 Jan 2026 10:35:43 -0500 Subject: [PATCH] CASH-2025: add additional check to avoid Typeerror --- src/layouts/quote/quote.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 3c69ec53c..31309f182 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -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;