Skip to content

Commit

Permalink
fix: allow applying filters by category
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-i-am committed Oct 3, 2023
1 parent c41fba6 commit b3da52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ValidationTable/ValidationTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const ValidationTable = ({ data, isLoading }) => {
...col,
Cell: ({ row }) => row.values.categories.join(', '),
Filter: (_ref) => addFilterWithSearchBar(_ref),
filterChoices: dataFiltersChoices.categories.map(({ id, name }) => ({ value: `${id}`, name })),
filterChoices: dataFiltersChoices.categories.map(({ name }) => ({ value: name, name })),
};
}
return {
Expand Down

0 comments on commit b3da52b

Please sign in to comment.