Merge pull request #2410 from Safelite/feature/CASH-353

CASH-353 - Added null check
This commit is contained in:
mvalaiyapathi 2025-04-09 14:46:33 -04:00 committed by GitHub
commit d713ded2b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -301,6 +301,7 @@ export default {
return this.$refs.navbar.removeLoader(); return this.$refs.navbar.removeLoader();
} }
this.displayInvalidZipAlert = false; this.displayInvalidZipAlert = false;
if (this.serviceZipCode != null) {
const closestShops = await this.findClosestApplicableShops( const closestShops = await this.findClosestApplicableShops(
this.serviceZipCode, this.serviceZipCode,
this.carId this.carId
@ -309,6 +310,7 @@ export default {
if (this.displayNoServiceAlert) { if (this.displayNoServiceAlert) {
return this.$refs.navbar.removeLoader(); return this.$refs.navbar.removeLoader();
} }
}
const carsFound = resultMap.vinLookupResponse.vinVehicles; const carsFound = resultMap.vinLookupResponse.vinVehicles;