react-table-edit 1.5.16 → 1.5.17
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/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -68925,7 +68925,7 @@ const TableView = ({ idTable, dataSource, height = 400, columns, isMutil = false
|
|
|
68925
68925
|
}
|
|
68926
68926
|
}
|
|
68927
68927
|
}, [selectedItem]);
|
|
68928
|
-
const firstColSpan = flatVisble.length > 6 ? 3 : flatVisble.length / 2;
|
|
68928
|
+
const firstColSpan = flatVisble.length > 6 ? 3 : Math.floor(flatVisble.length / 2);
|
|
68929
68929
|
const RenderContent = ({ datas, level = 0 }) => {
|
|
68930
68930
|
return (jsx(Fragment$1, { children: datas.map((row, indexRow) => {
|
|
68931
68931
|
const [expand, setExpand] = useState(row.expand ?? false);
|