mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
tweaks to grid dates
This commit is contained in:
parent
1bfe69502a
commit
71a98c5f33
1 changed files with 3 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
className: "d-none d-sm-block"
|
||||
},
|
||||
{
|
||||
Header: "Updated",
|
||||
Header: "Crawled",
|
||||
accessor: "updatedDate",
|
||||
filterable: true,
|
||||
filterMethod: (filter: any, row: any) => row[filter.id].toUpperCase()
|
||||
|
|
@ -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")
|
||||
: ""}</div>,
|
||||
: "N/A"}</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")
|
||||
: ""}</div>,
|
||||
: "N/A"}</div>,
|
||||
style: { whiteSpace: "inherit" },
|
||||
width: 75,
|
||||
headerClassName: "d-none d-sm-block",
|
||||
|
|
|
|||
Loading…
Reference in a new issue