diff --git a/src/layouts/license-plate-lookup/license-plate-lookup.vue b/src/layouts/license-plate-lookup/license-plate-lookup.vue index 62687a08..f9b6ab64 100644 --- a/src/layouts/license-plate-lookup/license-plate-lookup.vue +++ b/src/layouts/license-plate-lookup/license-plate-lookup.vue @@ -109,7 +109,7 @@ export default { activeVehicleLookupAlertType: null, vehicleFromLookup: null, licensePlate: null, - licenseState: null, + licenseState: useMainStore().order.customer.address.state, displayVinNotFoundAlert: false, displayMatchedDifferentVehicleAlert: false, previouslyEnteredCarId: "", @@ -198,7 +198,6 @@ export default { registrationInfo: { licensePlate: this.licensePlate, state: this.licenseState, - zipCode: useMainStore().vehicle.registration.zipCode, }, }, false diff --git a/src/store/index.js b/src/store/index.js index db172dde..961a0835 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -940,8 +940,7 @@ export const useMainStore = defineStore({ if ( registrationInfo?.licensePlate !== this.order.vehicle.registration?.licensePlate || - registrationInfo?.state !== this.order.vehicle.registration?.state || - registrationInfo?.zipCode !== this.order.vehicle.registration?.zipCode + registrationInfo?.state !== this.order.vehicle.registration?.state ) { this.resetRegistrationAndDependencies();