prettier run
This commit is contained in:
CarlNation 2023-06-07 13:29:25 -04:00
parent b4cfc1ed6c
commit 036567b1c3

View file

@ -373,16 +373,19 @@ export default {
supportingItems, supportingItems,
false 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 // 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( const removeEarlyBirdIndex = supportingItems.findIndex(
(item) => item.partNumber == PREMIUM_FEE_PART_TYPE (item) => item.partNumber == PREMIUM_FEE_PART_TYPE
); );
if (removeEarlyBirdIndex >= 0) { if (removeEarlyBirdIndex >= 0) {
supportingItems.splice(removeEarlyBirdIndex, 1) supportingItems.splice(removeEarlyBirdIndex, 1);
this.dispatchStoreAction(this.storeActions.SAVE_SUPPORTING_ITEMS, supportingItems, false); this.dispatchStoreAction(
this.storeActions.SAVE_SUPPORTING_ITEMS,
supportingItems,
false
);
} }
} }
}, },