@knovator/pagecreator-admin 1.5.8 → 1.5.9
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/index.cjs +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -3461,7 +3461,7 @@ const CustomReactSelect = ({
|
|
|
3461
3461
|
isLoading: isLoading,
|
|
3462
3462
|
loadOptions: loadOptions,
|
|
3463
3463
|
placeholder: placeholder,
|
|
3464
|
-
formatOptionLabel: formatOptionLabel && listCode !== 'pages' && listCode !== '
|
|
3464
|
+
formatOptionLabel: formatOptionLabel && listCode !== 'pages' && listCode !== 'blog' ? option => formatOptionLabel(listCode, option) : undefined,
|
|
3465
3465
|
styles: customStyles
|
|
3466
3466
|
}), error && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3467
3467
|
className: "khb_input-error "
|
|
@@ -4046,7 +4046,7 @@ const DNDItemsList = ({
|
|
|
4046
4046
|
className: "khb_DND-item",
|
|
4047
4047
|
key: item.value,
|
|
4048
4048
|
ref: provided.innerRef
|
|
4049
|
-
}, provided.draggableProps, provided.dragHandleProps), typeof formatItem === 'function' && listCode && listCode !== 'pages' && listCode !== '
|
|
4049
|
+
}, provided.draggableProps, provided.dragHandleProps), typeof formatItem === 'function' && listCode && listCode !== 'pages' && listCode !== 'blog' ? formatItem(listCode, item) : (/*#__PURE__*/React__default["default"].createElement("div", {
|
|
4050
4050
|
className: "khb_DND-item-content"
|
|
4051
4051
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4052
4052
|
className: "khb_DND-item-text"
|
package/index.js
CHANGED
|
@@ -3449,7 +3449,7 @@ const CustomReactSelect = ({
|
|
|
3449
3449
|
isLoading: isLoading,
|
|
3450
3450
|
loadOptions: loadOptions,
|
|
3451
3451
|
placeholder: placeholder,
|
|
3452
|
-
formatOptionLabel: formatOptionLabel && listCode !== 'pages' && listCode !== '
|
|
3452
|
+
formatOptionLabel: formatOptionLabel && listCode !== 'pages' && listCode !== 'blog' ? option => formatOptionLabel(listCode, option) : undefined,
|
|
3453
3453
|
styles: customStyles
|
|
3454
3454
|
}), error && /*#__PURE__*/React.createElement("p", {
|
|
3455
3455
|
className: "khb_input-error "
|
|
@@ -4034,7 +4034,7 @@ const DNDItemsList = ({
|
|
|
4034
4034
|
className: "khb_DND-item",
|
|
4035
4035
|
key: item.value,
|
|
4036
4036
|
ref: provided.innerRef
|
|
4037
|
-
}, provided.draggableProps, provided.dragHandleProps), typeof formatItem === 'function' && listCode && listCode !== 'pages' && listCode !== '
|
|
4037
|
+
}, provided.draggableProps, provided.dragHandleProps), typeof formatItem === 'function' && listCode && listCode !== 'pages' && listCode !== 'blog' ? formatItem(listCode, item) : (/*#__PURE__*/React.createElement("div", {
|
|
4038
4038
|
className: "khb_DND-item-content"
|
|
4039
4039
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4040
4040
|
className: "khb_DND-item-text"
|