From f6f7b5c1c7b1bc799061d31bf114d41603b596d7 Mon Sep 17 00:00:00 2001 From: Jason Wheeler Date: Tue, 13 Jun 2023 17:29:27 -0400 Subject: [PATCH] wiped data for damage with parts aren't available to prevent mismatched parts, vent vs quarter for example --- src/layouts/vin-lookup/vin-lookup.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layouts/vin-lookup/vin-lookup.vue b/src/layouts/vin-lookup/vin-lookup.vue index 70b52933..9342d2b8 100644 --- a/src/layouts/vin-lookup/vin-lookup.vue +++ b/src/layouts/vin-lookup/vin-lookup.vue @@ -188,6 +188,7 @@ export default { // navigate back to vehicle-damage if (this.isCarIdDifferentFromTheStore && !isSelectedGlassAvailableForVehicle) { this.mainStore.updateVehicle(this.vehicleFromLookup); + this.mainStore.resetDamageState(); this.$router.navigate( this.navigationScenarios.SELECTED_VIN_WITH_MISMATCHED_GLASS, this.$route,