Skip to content

Commit

Permalink
Fix label when no filters
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits committed Jan 30, 2025
1 parent 3f073e0 commit 006069d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export const DataTable = <T extends AnyObject>({
) : null}

{/* Filter icon */}
{th.filter ? (
{th.filter?.length ? (
<span className="DataTable__filter">
<Icon.FilterFunnel01 />
</span>
Expand Down

0 comments on commit 006069d

Please sign in to comment.