From 4c3a40231850bd8422bd5e6ba5d1dd2b7ffbb04c Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Fri, 16 Jun 2023 10:17:19 -0400 Subject: [PATCH] CSR-1450 | Nullcheck to fix defect --- src/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index bd8ccffe7..eac829543 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -343,7 +343,7 @@ export const mutations = { //early bird fee used on schedule page also needs reset when schedule is reset const supportingItems = state.order.lineItems.supportingItems; - const removeEarlyBirdIndex = supportingItems.findIndex( + const removeEarlyBirdIndex = supportingItems?.findIndex( (item) => item.partType == PREMIUM_FEE_PART_TYPE );