@oliasoft-open-source/react-ui-library 4.18.5 → 4.18.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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -51708,7 +51708,6 @@ const TableDragWrapper = (props) => {
|
|
|
51708
51708
|
tbodyRef
|
|
51709
51709
|
} = props;
|
|
51710
51710
|
const [dragIndex, setDragIndex] = useState(null);
|
|
51711
|
-
if (!draggable) return children;
|
|
51712
51711
|
const itemIds = useMemo(
|
|
51713
51712
|
() => rows.map((_2, index2) => index2.toString()),
|
|
51714
51713
|
[rows]
|
|
@@ -51737,6 +51736,7 @@ const TableDragWrapper = (props) => {
|
|
|
51737
51736
|
widths.shift();
|
|
51738
51737
|
return widths;
|
|
51739
51738
|
};
|
|
51739
|
+
if (!draggable) return children;
|
|
51740
51740
|
return /* @__PURE__ */ jsxs(
|
|
51741
51741
|
DndContext$1,
|
|
51742
51742
|
{
|