@tanstack/react-table 8.3.1 → 8.3.4

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.
@@ -2182,7 +2182,7 @@ const RowSelection = {
2182
2182
  var _table$getState$rowSe;
2183
2183
 
2184
2184
  const totalSelected = Object.keys((_table$getState$rowSe = table.getState().rowSelection) != null ? _table$getState$rowSe : {}).length;
2185
- return totalSelected < table.getCoreRowModel().flatRows.length;
2185
+ return totalSelected > 0 && totalSelected < table.getCoreRowModel().flatRows.length;
2186
2186
  },
2187
2187
  getIsSomePageRowsSelected: () => {
2188
2188
  const paginationFlatRows = table.getPaginationRowModel().flatRows;