ordering-ui-external 2.0.3 → 2.0.4
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.
|
@@ -135,7 +135,7 @@ var BusinessProductsCategoriesUI = function BusinessProductsCategoriesUI(props)
|
|
|
135
135
|
(0, _react.useEffect)(function () {
|
|
136
136
|
if (typeof useKioskApp === 'undefined') return;
|
|
137
137
|
var styleSheet = document.getElementById('styles').sheet;
|
|
138
|
-
var disabledCustomWidth = isChew;
|
|
138
|
+
var disabledCustomWidth = isChew || !useKioskApp;
|
|
139
139
|
var style0 = '.sticky-prod-cat {';
|
|
140
140
|
style0 += 'position: fixed !important;';
|
|
141
141
|
style0 += 'top: 0px !important;';
|
package/package.json
CHANGED
|
@@ -121,7 +121,7 @@ const BusinessProductsCategoriesUI = (props) => {
|
|
|
121
121
|
if (typeof useKioskApp === 'undefined') return
|
|
122
122
|
const styleSheet = document.getElementById('styles').sheet
|
|
123
123
|
|
|
124
|
-
const disabledCustomWidth = isChew
|
|
124
|
+
const disabledCustomWidth = isChew || !useKioskApp
|
|
125
125
|
|
|
126
126
|
let style0 = '.sticky-prod-cat {'
|
|
127
127
|
style0 += 'position: fixed !important;'
|