From b44ee53e3a88e67d8bee3a05de4c54c6b05106bb Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 22 Aug 2018 19:26:27 -0500 Subject: [PATCH] temp hide updated date ...while experiencing issues with snapshot service (resetting db often) ref #378 --- .../ClientApp/components/Home.tsx | 32 +++++++++---------- .../ClientApp/components/ListDetails.tsx | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 231456b78..6f1cd7995 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -132,22 +132,22 @@ export class Home extends React.Component, IHomeState> { headerClassName: "d-none d-lg-block", className: "d-none d-lg-block" }, - { - Header: "Updated", - accessor: "updatedDate", - filterable: true, - filterMethod: (filter: any, row: any) => row[filter.id].includes(filter.value), - sortMethod: (a: any, b: any) => moment(a).isValid() - ? (moment(b).isValid() ? (moment(a).isBefore(b) ? -1 : 1) : 1) - : -1, - Cell: (cell: any) =>
{moment(cell.value).isValid() - ? moment(cell.value).format("l") - : "N/A"}
, - style: { whiteSpace: "inherit" }, - width: 100, - headerClassName: "d-none d-lg-block", - className: "d-none d-lg-block" - }, + //{ + // Header: "Updated", + // accessor: "updatedDate", + // filterable: true, + // filterMethod: (filter: any, row: any) => row[filter.id].includes(filter.value), + // sortMethod: (a: any, b: any) => moment(a).isValid() + // ? (moment(b).isValid() ? (moment(a).isBefore(b) ? -1 : 1) : 1) + // : -1, + // Cell: (cell: any) =>
{moment(cell.value).isValid() + // ? moment(cell.value).format("l") + // : "N/A"}
, + // style: { whiteSpace: "inherit" }, + // width: 100, + // headerClassName: "d-none d-lg-block", + // className: "d-none d-lg-block" + //}, { Header: "Details", accessor: "id", diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index 2b4a962e7..1a24d321b 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -56,7 +56,7 @@ function ListInfo(props: any) { - + {/* --> */}