Skip to content

Commit

Permalink
fix: visibility controls and full filters hiding fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matej21 committed Aug 2, 2023
1 parent a01cede commit d127b5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const DataGridColumnHiding = ({
size: 'small',
}), [formatMessage])

if (!allowColumnVisibilityControls || displayedState.layout === 'tiles') {
if (allowColumnVisibilityControls === false || displayedState.layout === 'tiles') {
return null
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ export function DataGridFullFilters({
),
}), [formatMessage])

if (!allowAggregateFilterControls) {
if (allowAggregateFilterControls === false) {
return null
}


return (
<Dropdown
alignment="center"
Expand Down

0 comments on commit d127b5d

Please sign in to comment.