Merge pull request #168 from Safelite/feature/digital/SSR-269

Feature/digital/ssr 269
This commit is contained in:
katiekroell 2023-02-20 10:36:27 -05:00 committed by GitHub
commit 54a745136c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -109,7 +109,7 @@ export default {
activeVehicleLookupAlertType: null, activeVehicleLookupAlertType: null,
vehicleFromLookup: null, vehicleFromLookup: null,
licensePlate: null, licensePlate: null,
licenseState: null, licenseState: useMainStore().order.customer.address.state,
displayVinNotFoundAlert: false, displayVinNotFoundAlert: false,
displayMatchedDifferentVehicleAlert: false, displayMatchedDifferentVehicleAlert: false,
previouslyEnteredCarId: "", previouslyEnteredCarId: "",
@ -198,7 +198,6 @@ export default {
registrationInfo: { registrationInfo: {
licensePlate: this.licensePlate, licensePlate: this.licensePlate,
state: this.licenseState, state: this.licenseState,
zipCode: useMainStore().vehicle.registration.zipCode,
}, },
}, },
false false

View file

@ -940,8 +940,7 @@ export const useMainStore = defineStore({
if if
( (
registrationInfo?.licensePlate !== this.order.vehicle.registration?.licensePlate || registrationInfo?.licensePlate !== this.order.vehicle.registration?.licensePlate ||
registrationInfo?.state !== this.order.vehicle.registration?.state || registrationInfo?.state !== this.order.vehicle.registration?.state
registrationInfo?.zipCode !== this.order.vehicle.registration?.zipCode
) )
{ {
this.resetRegistrationAndDependencies(); this.resetRegistrationAndDependencies();