ordering-ui-external 1.8.5 → 1.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -371,7 +371,7 @@ var BusinessesListingUI = function BusinessesListingUI(props) {
371
371
  businessList: businessesList.businesses,
372
372
  userLocation: orderState === null || orderState === void 0 ? void 0 : (_orderState$options6 = orderState.options) === null || _orderState$options6 === void 0 ? void 0 : (_orderState$options6$ = _orderState$options6.address) === null || _orderState$options6$ === void 0 ? void 0 : _orderState$options6$.location,
373
373
  setErrors: setMapErrors
374
- })), hasHighRatedBusiness && !props.franchiseId && /*#__PURE__*/_react.default.createElement(_styles.HightestRatedWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Divider, null), /*#__PURE__*/_react.default.createElement(_HighestRated.HighestRated, {
374
+ })), !isChew && hasHighRatedBusiness && !props.franchiseId && /*#__PURE__*/_react.default.createElement(_styles.HightestRatedWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Divider, null), /*#__PURE__*/_react.default.createElement(_HighestRated.HighestRated, {
375
375
  handleClickAddress: handleClickAddress,
376
376
  setHasHighRatedBusiness: setHasHighRatedBusiness,
377
377
  onBusinessClick: onBusinessClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-external",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "Ordering UI Components",
5
5
  "main": "./_modules/index.js",
6
6
  "exports": {
@@ -368,7 +368,7 @@ const BusinessesListingUI = (props) => {
368
368
  )}
369
369
  </>
370
370
  )}
371
- {hasHighRatedBusiness && !props.franchiseId && (
371
+ {!isChew && hasHighRatedBusiness && !props.franchiseId && (
372
372
  <HightestRatedWrapper>
373
373
  <Divider />
374
374
  <HighestRated