This commit is contained in:
Sneha 2024-12-12 11:49:21 +05:30
parent dfb90ed050
commit 5a629be741

View file

@ -232,6 +232,11 @@ export default {
const resultMap = await settleAllPromises(promiseResultMap);
// Lookup vin
if (!resultMap.registrationZipValidationResponse.isValid) {
this.displayInvalidZipAlert = true;
return this.$refs.navbar.removeLoader();
}
const vinLookup = await this.lookupVin(
this.licensePlate,
resultMap.registrationZipValidationResponse.state
@ -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() {