Update license-plate-lookup.vue

This commit is contained in:
Sneha 2024-12-12 11:52:13 +05:30
parent 5a629be741
commit c6baefd0fb

View file

@ -231,12 +231,12 @@ export default {
const resultMap = await settleAllPromises(promiseResultMap); const resultMap = await settleAllPromises(promiseResultMap);
// Lookup vin
if (!resultMap.registrationZipValidationResponse.isValid) { if (!resultMap.registrationZipValidationResponse.isValid) {
this.displayInvalidZipAlert = true; this.displayInvalidZipAlert = true;
return this.$refs.navbar.removeLoader(); return this.$refs.navbar.removeLoader();
} }
// Lookup vin
const vinLookup = await this.lookupVin( const vinLookup = await this.lookupVin(
this.licensePlate, this.licensePlate,
resultMap.registrationZipValidationResponse.state resultMap.registrationZipValidationResponse.state