CASH-56 | Clear VAPS when glass damage changes

This fixes an issue where rear wipers were still on the order after removing rear glass. Then wiper promos stopped working on quote. See card for full details
This commit is contained in:
Scott Kiener 2025-01-07 09:57:22 -05:00
parent 721ba23018
commit 4d99a07e89

View file

@ -1204,6 +1204,7 @@ export const actions = {
resetPartsAndDependencies(context) {
context.commit(storeMutations.RESET_GLASS_PARTS_STATE);
context.commit(storeMutations.UPDATE_SUPPORTING_ITEMS, null);
context.commit(storeMutations.UPDATE_VAPS, null);
context.dispatch(storeActions.RESET_SERVICE_LOCATION_STATE_AND_DEPENDENCIES);
},