From 2a4554c116c8cca50361262810940576fa6a9d73 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 8 Jun 2018 15:12:28 -0500 Subject: [PATCH] n/a -> empty string on grid dates to improve sorting --- src/FilterLists.Web/ClientApp/components/Home.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index c2c934a7e..816dfdc50 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -102,7 +102,7 @@ export class Home extends React.Component, IHomeState> { sortMethod: (a: any, b: any) => a > b ? 1 : -1, Cell: (cell: any) =>
{moment(cell.value).isValid() ? moment(cell.value).format("M-D-YY") - : "N/A"}
, + : ""}, style: { whiteSpace: "inherit" }, width: 75, headerClassName: "d-none d-sm-block", @@ -117,7 +117,7 @@ export class Home extends React.Component, IHomeState> { sortMethod: (a: any, b: any) => a > b ? 1 : -1, Cell: (cell: any) =>
{moment(cell.value).isValid() ? moment(cell.value).format("M-D-YY") - : "N/A"}
, + : ""}, style: { whiteSpace: "inherit" }, width: 75, headerClassName: "d-none d-sm-block",