CSR-1384: fix if lineItems.vaps is null

This commit is contained in:
Adam Caouette 2023-11-09 13:51:49 -05:00
parent 46e285b2fc
commit 00ca94d5dd

View file

@ -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.