@sustaina/shared-ui 1.70.4 → 1.70.5
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
|
@@ -9475,7 +9475,7 @@ var useTableVirtualizer = ({
|
|
|
9475
9475
|
virtual
|
|
9476
9476
|
}) => {
|
|
9477
9477
|
const rowModel = table.getRowModel().rows;
|
|
9478
|
-
const columnsEnabled = virtual?.columns?.enabled ??
|
|
9478
|
+
const columnsEnabled = enabled && (virtual?.columns?.enabled ?? true);
|
|
9479
9479
|
const centerColumns = table.getCenterVisibleLeafColumns();
|
|
9480
9480
|
const getRowVirtualItemKey = useCallback((index) => rowModel[index]?.id ?? index, [rowModel]);
|
|
9481
9481
|
const getColumnVirtualItemKey = useCallback(
|