CSR-1144
prettier run
This commit is contained in:
parent
b4cfc1ed6c
commit
036567b1c3
1 changed files with 8 additions and 5 deletions
|
|
@ -373,17 +373,20 @@ 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
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue