mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
f17dd6193f
commit
e300463ad9
1 changed files with 11 additions and 1 deletions
|
|
@ -70,7 +70,17 @@ export const ListsTable = (props: IProps) => {
|
|||
(r[f.id]
|
||||
? r[f.id].map((e: any) => e.name).join().toUpperCase().includes(f.value.toUpperCase())
|
||||
: null),
|
||||
sortable: false,
|
||||
sortMethod: (a: any, b: any) => a
|
||||
? b
|
||||
? a.length === b.length
|
||||
? a[0].name > b[0].name
|
||||
? -1
|
||||
: 1
|
||||
: a.length > b.length
|
||||
? 1
|
||||
: -1
|
||||
: 1
|
||||
: -1,
|
||||
Cell: (c: any) => c.value
|
||||
? <div className="fl-tag-container">
|
||||
{c.value.map((e: any, i: number) =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue