remove added date column

ref #271
This commit is contained in:
Collin M. Barrett 2018-08-10 21:00:51 -05:00
parent 5a910a54e4
commit bb3b7d2bab

View file

@ -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",