From 036567b1c30a05e06c04ac59c7536f8aeeedad77 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Wed, 7 Jun 2023 13:29:25 -0400 Subject: [PATCH] CSR-1144 prettier run --- src/layouts/schedule/schedule.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 775fc3088..71383487a 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -373,17 +373,20 @@ export default { supportingItems, false ); - } - else { + } else { // if it's not a mobile and/or premium early bird, then make sure we remove any that may have been added const removeEarlyBirdIndex = supportingItems.findIndex( (item) => item.partNumber == PREMIUM_FEE_PART_TYPE ); if (removeEarlyBirdIndex >= 0) { - supportingItems.splice(removeEarlyBirdIndex, 1) - this.dispatchStoreAction(this.storeActions.SAVE_SUPPORTING_ITEMS, supportingItems, false); - } + supportingItems.splice(removeEarlyBirdIndex, 1); + this.dispatchStoreAction( + this.storeActions.SAVE_SUPPORTING_ITEMS, + supportingItems, + false + ); + } } }, },