ordering-ui-external 10.10.5 → 10.10.7
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.
- package/_bundles/{7.ordering-ui.6b2c54fb78345980860c.js → 7.ordering-ui.9a2b08dbac2c71a0030c.js} +1 -1
- package/_bundles/ordering-ui.9a2b08dbac2c71a0030c.js +2 -0
- package/_modules/themes/five/src/components/BusinessProductsListing/index.js +3 -2
- package/package.json +2 -2
- package/src/themes/five/src/components/BusinessProductsListing/index.js +3 -2
- package/template/components/ScrollToTop/index.js +1 -1
- package/_bundles/ordering-ui.6b2c54fb78345980860c.js +0 -2
- /package/_bundles/{0.ordering-ui.6b2c54fb78345980860c.js → 0.ordering-ui.9a2b08dbac2c71a0030c.js} +0 -0
- /package/_bundles/{1.ordering-ui.6b2c54fb78345980860c.js → 1.ordering-ui.9a2b08dbac2c71a0030c.js} +0 -0
- /package/_bundles/{2.ordering-ui.6b2c54fb78345980860c.js → 2.ordering-ui.9a2b08dbac2c71a0030c.js} +0 -0
- /package/_bundles/{4.ordering-ui.6b2c54fb78345980860c.js → 4.ordering-ui.9a2b08dbac2c71a0030c.js} +0 -0
- /package/_bundles/{5.ordering-ui.6b2c54fb78345980860c.js → 5.ordering-ui.9a2b08dbac2c71a0030c.js} +0 -0
- /package/_bundles/{6.ordering-ui.6b2c54fb78345980860c.js → 6.ordering-ui.9a2b08dbac2c71a0030c.js} +0 -0
- /package/_bundles/{7.ordering-ui.6b2c54fb78345980860c.js.LICENSE.txt → 7.ordering-ui.9a2b08dbac2c71a0030c.js.LICENSE.txt} +0 -0
- /package/_bundles/{8.ordering-ui.6b2c54fb78345980860c.js → 8.ordering-ui.9a2b08dbac2c71a0030c.js} +0 -0
- /package/_bundles/{9.ordering-ui.6b2c54fb78345980860c.js → 9.ordering-ui.9a2b08dbac2c71a0030c.js} +0 -0
- /package/_bundles/{ordering-ui.6b2c54fb78345980860c.js.LICENSE.txt → ordering-ui.9a2b08dbac2c71a0030c.js.LICENSE.txt} +0 -0
|
@@ -83,7 +83,8 @@ var BusinessProductsListingUI = function BusinessProductsListingUI(props) {
|
|
|
83
83
|
isCustomerMode = props.isCustomerMode,
|
|
84
84
|
isCustomLayout = props.isCustomLayout,
|
|
85
85
|
notFound = props.notFound,
|
|
86
|
-
setNotFound = props.setNotFound
|
|
86
|
+
setNotFound = props.setNotFound,
|
|
87
|
+
loadedFirstTime = props.loadedFirstTime;
|
|
87
88
|
var business = businessState.business,
|
|
88
89
|
loading = businessState.loading,
|
|
89
90
|
error = businessState.error;
|
|
@@ -528,7 +529,7 @@ var BusinessProductsListingUI = function BusinessProductsListingUI(props) {
|
|
|
528
529
|
handleUpdateProfessionals: handleUpdateProfessionals,
|
|
529
530
|
isCustomerMode: isCustomerMode,
|
|
530
531
|
handleCustomProductBannerClick: handleCustomProductBannerClick
|
|
531
|
-
}), isMounted && !loading && business && !Object.keys(business).length && /*#__PURE__*/_react.default.createElement(_NotFoundSource.NotFoundSource, {
|
|
532
|
+
}), isMounted && !loading && loadedFirstTime && business && !Object.keys(business).length && /*#__PURE__*/_react.default.createElement(_NotFoundSource.NotFoundSource, {
|
|
532
533
|
content: t('NOT_FOUND_BUSINESS_PRODUCTS', (theme === null || theme === void 0 || (_theme$defaultLanguag7 = theme.defaultLanguages) === null || _theme$defaultLanguag7 === void 0 ? void 0 : _theme$defaultLanguag7.NOT_FOUND_BUSINESS_PRODUCTS) || 'No products to show at this business, please try with other business.'),
|
|
533
534
|
btnTitle: t('SEARCH_REDIRECT', (theme === null || theme === void 0 || (_theme$defaultLanguag8 = theme.defaultLanguages) === null || _theme$defaultLanguag8 === void 0 ? void 0 : _theme$defaultLanguag8.SEARCH_REDIRECT) || 'Go to Businesses'),
|
|
534
535
|
onClickButton: function onClickButton() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ordering-ui-external",
|
|
3
|
-
"version": "10.10.
|
|
3
|
+
"version": "10.10.7",
|
|
4
4
|
"description": "Ordering UI Components",
|
|
5
5
|
"main": "./_modules/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"lodash": "^4.17.19",
|
|
89
89
|
"moment": "^2.29.4",
|
|
90
90
|
"nanoid": "^4.0.0",
|
|
91
|
-
"ordering-components-external": "9.
|
|
91
|
+
"ordering-components-external": "9.11.5",
|
|
92
92
|
"payment": "^2.4.6",
|
|
93
93
|
"polished": "^3.6.6",
|
|
94
94
|
"react-bootstrap-icons": "^1.7.2",
|
|
@@ -87,7 +87,8 @@ const BusinessProductsListingUI = (props) => {
|
|
|
87
87
|
isCustomerMode,
|
|
88
88
|
isCustomLayout,
|
|
89
89
|
notFound,
|
|
90
|
-
setNotFound
|
|
90
|
+
setNotFound,
|
|
91
|
+
loadedFirstTime
|
|
91
92
|
} = props
|
|
92
93
|
|
|
93
94
|
const { business, loading, error } = businessState
|
|
@@ -435,7 +436,7 @@ const BusinessProductsListingUI = (props) => {
|
|
|
435
436
|
/>
|
|
436
437
|
|
|
437
438
|
{
|
|
438
|
-
isMounted && !loading && business && !Object.keys(business).length && (
|
|
439
|
+
isMounted && !loading && loadedFirstTime && business && !Object.keys(business).length && (
|
|
439
440
|
<NotFoundSource
|
|
440
441
|
content={t('NOT_FOUND_BUSINESS_PRODUCTS', theme?.defaultLanguages?.NOT_FOUND_BUSINESS_PRODUCTS || 'No products to show at this business, please try with other business.')}
|
|
441
442
|
btnTitle={t('SEARCH_REDIRECT', theme?.defaultLanguages?.SEARCH_REDIRECT || 'Go to Businesses')}
|