Merge pull request #2167 from Safelite/feature/CSR-2486

Feature/csr 2486
This commit is contained in:
hiteshkumar87 2024-12-12 21:26:14 +05:30 committed by GitHub
commit 5af1e91915
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -231,6 +231,11 @@ export default {
const resultMap = await settleAllPromises(promiseResultMap);
if (!resultMap.registrationZipValidationResponse.isValid) {
this.displayInvalidZipAlert = true;
return this.$refs.navbar.removeLoader();
}
// Lookup vin
const vinLookup = await this.lookupVin(
this.licensePlate,
@ -251,7 +256,6 @@ export default {
this.displayInvalidZipAlert = true;
return this.$refs.navbar.removeLoader();
}
this.displayInvalidZipAlert = false;
// Check if the CarId has changed.
this.isCarIdDifferent =
@ -346,6 +350,7 @@ export default {
this.displayNonServiceableZipAlert = false;
this.displayMatchedDifferentVehicleAlert = false;
this.displayVinLookupByHomeAddressNotAllowedAlert = false;
this.displayInvalidZipAlert = false;
},
},
mounted() {