clear list if no results
This commit is contained in:
parent
309f08961b
commit
f4fbca585e
1 changed files with 1 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue