reset service package if vaps are removed from cart

This commit is contained in:
Katie Kroell 2026-03-04 10:04:44 -05:00
parent 503c946207
commit 1880479154

View file

@ -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(