reset service package if vaps are removed from cart
This commit is contained in:
parent
503c946207
commit
1880479154
1 changed files with 1 additions and 0 deletions
|
|
@ -366,6 +366,7 @@ export default {
|
|||
removeVap(partType) {
|
||||
const newVaps = useMainStore().lineItems.vaps?.filter((vap) => vap?.partType !== partType) ?? [];
|
||||
useMainStore().updateVaps(newVaps);
|
||||
useMainStore().updateServicePackage(null);
|
||||
},
|
||||
getCmsContentForVapsType(vapsPartType) {
|
||||
const vapsItemDescriptions = this.getCmsContent(
|
||||
|
|
|
|||
Loading…
Reference in a new issue