Skip to content

Commit

Permalink
Add league value to CommandItem in DataTableToolbar
Browse files Browse the repository at this point in the history
Fixes an issue with searching.

Related: shadcn-ui/ui#1522
  • Loading branch information
leonlarsson committed Dec 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2747c41 commit 87674dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/DataTableToolbar.tsx
Original file line number Diff line number Diff line change
@@ -92,6 +92,8 @@ export default function <TData>({

return (
<CommandItem
// https://github.com/shadcn-ui/ui/pull/1522
value={league}
key={league}
onSelect={() => {
isSelected

0 comments on commit 87674dc

Please sign in to comment.