Merge pull request #1164 from Safelite/feature/CSR-1450

CSR-1450 | Nullcheck to fix defect
This commit is contained in:
scottkiener 2023-06-16 10:22:10 -04:00 committed by GitHub
commit 5f0d917f72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
);