Merge pull request #1632 from Safelite/feature/CSR-1880-bugfix-ajc

CSR-1880: fix for blocking script error
This commit is contained in:
AdamCaouetteSafelite 2023-12-11 12:19:40 -05:00 committed by GitHub
commit b9ecbe9115
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -387,7 +387,7 @@ export default {
const revalidateResponseHasFrontWiperLineItems =
revalidatePromoResponse.promoLineItems.find(
(lineItem) => lineItem.partType == partTypeStrings.FRONT_WIPER
).length > 0;
)?.length > 0;
if (revalidateResponseHasFrontWiperLineItems) {
const frontWiperLineItemsInStore = this.lineItems.vaps.find(