Skip to content

Commit

Permalink
fix(@clayui/table): fixes bug when hiding all columns
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed Jun 10, 2024
1 parent c1ce18e commit 27d0aee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/clay-core/src/table/Head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ function HeadInner<T extends Record<string, any>>(
visibleColumns.has(
item
) &&
visibleColumns.size ===
visibleColumns.size -
alwaysVisibleColumns.size ===
1
}
onChange={(event) => {
Expand Down

0 comments on commit 27d0aee

Please sign in to comment.