mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(web): 🐛 fix syntax filter not returning lists with multiple syntaxes
closes #1963
This commit is contained in:
parent
d734f8eaa6
commit
08bd76e473
1 changed files with 4 additions and 2 deletions
|
|
@ -206,10 +206,12 @@ export const ListsTable = (props: RouteComponentProps & Props) => {
|
|||
)
|
||||
</>
|
||||
),
|
||||
value: s.id.toString(),
|
||||
value: s.id,
|
||||
}))}
|
||||
onFilter={(value, record) =>
|
||||
record.syntaxIds ? record.syntaxIds.toString() === value : false
|
||||
record.syntaxIds
|
||||
? record.syntaxIds.includes(value as number)
|
||||
: false
|
||||
}
|
||||
render={(syntaxIds: number[]) =>
|
||||
syntaxIds ? (
|
||||
|
|
|
|||
Loading…
Reference in a new issue