From 91470351269b1a6948146fe3cb321f8b9cf9896a Mon Sep 17 00:00:00 2001 From: Kroell Date: Fri, 10 Mar 2023 14:01:53 -0500 Subject: [PATCH] clear vin when reselecting vin lookup method --- src/layouts/vehicle-lookup/vehicle-lookup.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layouts/vehicle-lookup/vehicle-lookup.vue b/src/layouts/vehicle-lookup/vehicle-lookup.vue index 6ba6baf6..4b701262 100644 --- a/src/layouts/vehicle-lookup/vehicle-lookup.vue +++ b/src/layouts/vehicle-lookup/vehicle-lookup.vue @@ -39,6 +39,7 @@ import { settleAllPromises } from '@/helpers/layout-helper'; import { Form } from 'vee-validate'; import BaseFormMixin from '@/mixins/base-form-mixin'; import {vinLookupMethodSelections} from '@/constants/vin-lookup-methods'; +import { useMainStore } from '@/store'; // Import Component import SiteFooter from '@/iss-components/site-footer/site-footer.vue'; @@ -99,6 +100,7 @@ export default { forwardButtonAction() { switch (this.selectedVinLookupMethod) { case vinLookupMethodSelections.MANUALVIN: + useMainStore().updateVehicleVin(null); this.$router.navigate(this.navigationScenarios.SELECTED_MANUAL_VIN, this.$route); break; case vinLookupMethodSelections.LICENSEPLATE: