Skip to content

Commit

Permalink
fix: getIsAllRowsExpanded #4216 (#4418)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGarden committed Oct 3, 2022
1 parent 07d75ec commit 5002364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/table-core/src/features/Expanding.ts
Expand Up @@ -128,7 +128,7 @@ export const Expanding: TableFeature = {
}

// If any row is not expanded, return false
if (table.getRowModel().flatRows.some(row => row.getIsExpanded())) {
if (table.getRowModel().flatRows.some(row => !row.getIsExpanded())) {
return false
}

Expand Down

0 comments on commit 5002364

Please sign in to comment.