mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
5a910a54e4
commit
bb3b7d2bab
1 changed files with 0 additions and 14 deletions
|
|
@ -110,20 +110,6 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
headerClassName: "d-none d-lg-block",
|
||||
className: "d-none d-lg-block"
|
||||
},
|
||||
{
|
||||
Header: "Added",
|
||||
accessor: "addedDate",
|
||||
filterable: true,
|
||||
filterMethod: (filter: any, row: any) => row[filter.id].includes(filter.value),
|
||||
sortMethod: (a: any, b: any) => a > b ? 1 : -1,
|
||||
Cell: (cell: any) => <div>{moment(cell.value).isValid()
|
||||
? moment(cell.value).format(moment.HTML5_FMT.DATE)
|
||||
: "N/A"}</div>,
|
||||
style: { whiteSpace: "inherit" },
|
||||
width: 100,
|
||||
headerClassName: "d-none d-lg-block",
|
||||
className: "d-none d-lg-block"
|
||||
},
|
||||
{
|
||||
Header: "Details",
|
||||
accessor: "id",
|
||||
|
|
|
|||
Loading…
Reference in a new issue