clear list if no results

This commit is contained in:
Bill Richardson 2026-02-18 10:05:13 -05:00
parent 309f08961b
commit f4fbca585e

View file

@ -253,6 +253,7 @@ export default {
currentSearchIndex += 1;
}
if (result.length === 0) {
this.nearbyShops = [];
this.errorMessage = errorMessages.ZIP_CODE_NOT_SERVICED_FOR_VEHICLE;
} else {
if (!result.find((shop) => shop.providerNumber === this.internalProviderNumber)) {