Skip to content

Commit

Permalink
Fixed clear filter
Browse files Browse the repository at this point in the history
  • Loading branch information
noam-honig committed May 17, 2024
1 parent da9bdd0 commit 9127399
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export function DataTableFilterItem<TData>({
setSelectedOptions((prev) =>
prev.filter((item) => item.key !== selectedOption.key),
)
column?.setFilterValue(undefined)
}}
>
<TrashIcon className="size-4" aria-hidden="true" />
Expand Down

0 comments on commit 9127399

Please sign in to comment.