From bb3b7d2bab03e73f5b07032b1180a835e4a307f3 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 10 Aug 2018 21:00:51 -0500 Subject: [PATCH] remove added date column ref #271 --- src/FilterLists.Web/ClientApp/components/Home.tsx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 6eb4670ed..240294f15 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -110,20 +110,6 @@ export class Home extends React.Component, 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) =>
{moment(cell.value).isValid() - ? moment(cell.value).format(moment.HTML5_FMT.DATE) - : "N/A"}
, - style: { whiteSpace: "inherit" }, - width: 100, - headerClassName: "d-none d-lg-block", - className: "d-none d-lg-block" - }, { Header: "Details", accessor: "id",