From 00ca94d5ddbff81ba295509fdcc87909541e4aae Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Thu, 9 Nov 2023 13:51:49 -0500 Subject: [PATCH] CSR-1384: fix if lineItems.vaps is null --- src/layouts/payment-method/payment-method.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index c8ef38b3e..41de977b6 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -201,6 +201,7 @@ export default { taxedVaps, lineItems ); + lineItems.vaps = lineItems.vaps ?? []; lineItems.vaps.push(...vapsToAddToCart); // Call the "next" function to complete the transition to this page.