CASH-1348 - Fixed merging issues for inShopProviders property
This commit is contained in:
parent
8f0c522cf2
commit
32395187a6
2 changed files with 5 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ export default {
|
|||
this.$store.getters.order.vehicle.carId,
|
||||
"service-location"
|
||||
);
|
||||
if (!closestShops || closestShops.providers?.length === 0) {
|
||||
if (!closestShops || closestShops.inShopProviders?.length === 0) {
|
||||
this.isLoading = false;
|
||||
this.displayNoServiceAlert = true;
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -496,7 +496,10 @@ export default {
|
|||
{ zip: this.serviceZipCode, carId: this.carId },
|
||||
"vehicle"
|
||||
);
|
||||
if (!closestShops?.data?.providers || closestShops.data.providers.length === 0) {
|
||||
if (
|
||||
!closestShops?.data?.inShopProviders ||
|
||||
closestShops.data.inShopProviders.length === 0
|
||||
) {
|
||||
this.displayNoServiceAlert = true;
|
||||
if (store.getters.externalParameterState?.isExternalParameter) {
|
||||
return baseMixin.methods.ResetExternalParamsAndHideModal();
|
||||
|
|
|
|||
Loading…
Reference in a new issue