From 4d99a07e8915d7082e7e96d25ea30616aabf73c5 Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Tue, 7 Jan 2025 09:57:22 -0500 Subject: [PATCH] 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 --- src/store/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/index.js b/src/store/index.js index e17abda16..ab544684a 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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); },