@tanstack/table-core 8.3.2 → 8.3.3
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/build/cjs/features/RowSelection.js +1 -1
- package/build/cjs/features/RowSelection.js.map +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +308 -308
- package/build/umd/index.development.js +1 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/features/RowSelection.ts +1 -1
|
@@ -2172,7 +2172,7 @@
|
|
|
2172
2172
|
var _table$getState$rowSe;
|
|
2173
2173
|
|
|
2174
2174
|
const totalSelected = Object.keys((_table$getState$rowSe = table.getState().rowSelection) != null ? _table$getState$rowSe : {}).length;
|
|
2175
|
-
return totalSelected < table.getCoreRowModel().flatRows.length;
|
|
2175
|
+
return totalSelected > 0 && totalSelected < table.getCoreRowModel().flatRows.length;
|
|
2176
2176
|
},
|
|
2177
2177
|
getIsSomePageRowsSelected: () => {
|
|
2178
2178
|
const paginationFlatRows = table.getPaginationRowModel().flatRows;
|