mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
n/a -> empty string on grid dates to improve sorting
This commit is contained in:
parent
f6dce9bc0d
commit
2a4554c116
1 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
sortMethod: (a: any, b: any) => a > b ? 1 : -1,
|
||||
Cell: (cell: any) => <div>{moment(cell.value).isValid()
|
||||
? moment(cell.value).format("M-D-YY")
|
||||
: "N/A"}</div>,
|
||||
: ""}</div>,
|
||||
style: { whiteSpace: "inherit" },
|
||||
width: 75,
|
||||
headerClassName: "d-none d-sm-block",
|
||||
|
|
@ -117,7 +117,7 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
sortMethod: (a: any, b: any) => a > b ? 1 : -1,
|
||||
Cell: (cell: any) => <div>{moment(cell.value).isValid()
|
||||
? moment(cell.value).format("M-D-YY")
|
||||
: "N/A"}</div>,
|
||||
: ""}</div>,
|
||||
style: { whiteSpace: "inherit" },
|
||||
width: 75,
|
||||
headerClassName: "d-none d-sm-block",
|
||||
|
|
|
|||
Loading…
Reference in a new issue