From 924383b86913db91e0f73f4029c3ac931dce32cc Mon Sep 17 00:00:00 2001 From: swain Date: Fri, 19 Apr 2024 11:54:35 +0900 Subject: [PATCH] fix: getIsSomeRowsSelected on all selection --- packages/table-core/src/features/RowSelection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/table-core/src/features/RowSelection.ts b/packages/table-core/src/features/RowSelection.ts index 90166823aa..a80c2d91c6 100644 --- a/packages/table-core/src/features/RowSelection.ts +++ b/packages/table-core/src/features/RowSelection.ts @@ -436,7 +436,7 @@ export const RowSelection: TableFeature = { ).length return ( totalSelected > 0 && - totalSelected < table.getFilteredRowModel().flatRows.length + totalSelected <= table.getFilteredRowModel().flatRows.length ) }