notice that filter doesn't work for nested objects
This commit is contained in:
parent
8c62f7addf
commit
4a8b6f72df
|
@ -56,7 +56,9 @@ export const columns: ColumnDef<StoryWithGenres>[] = [
|
|||
const genres = props.getValue()
|
||||
.map(e => <Badge>{e.name}</Badge>)
|
||||
return genres
|
||||
}
|
||||
},
|
||||
filterFn: "arrIncludes"
|
||||
//TODO - write custom filter function, to account for an array of objects
|
||||
}),
|
||||
{
|
||||
id: "actions",
|
||||
|
|
Loading…
Reference in New Issue