mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
e593fa4b93
commit
06e1de7de7
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ export const ListsTable = (props: IProps) => {
|
|||
{
|
||||
Header: "Updated",
|
||||
accessor: "updatedDate",
|
||||
filterable: true,
|
||||
filterable: false,
|
||||
filterMethod: (f: any, r: any) => r[f.id].includes(f.value),
|
||||
sortMethod: (a: any, b: any) =>
|
||||
moment(a).isValid() ? (moment(b).isValid() ? (moment(a).isBefore(b) ? -1 : 1) : 1) : -1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue