|
|
@ -1329,7 +1329,7 @@ |
|
|
return isNaN(status) ? 0 : status; |
|
|
return isNaN(status) ? 0 : status; |
|
|
}, |
|
|
}, |
|
|
isShopPaused(item) { |
|
|
isShopPaused(item) { |
|
|
return this.getShopStatus(item) != 1 || this.getTakeawayStatus(item) != 0; |
|
|
return this.getShopStatus(item) != 1; |
|
|
}, |
|
|
}, |
|
|
isShopUnavailable(item) { |
|
|
isShopUnavailable(item) { |
|
|
return this.isShopPaused(item) || !this.isShopWithinBusinessHours(item && item.shopTakeaway); |
|
|
return this.isShopPaused(item) || !this.isShopWithinBusinessHours(item && item.shopTakeaway); |
|
|
|