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,
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

View file

@ -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();