mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-22 17:48:09 +00:00
Updated never if no date.
This commit is contained in:
parent
852993149f
commit
82cee02962
1 changed files with 5 additions and 1 deletions
|
|
@ -201,10 +201,14 @@ const EPGsTable = () => {
|
|||
},
|
||||
{
|
||||
header: 'Updated',
|
||||
accessorFn: (row) => dayjs(row.updated_at).format('MMMM D, YYYY h:mma'),
|
||||
accessorKey: 'updated_at',
|
||||
size: 180,
|
||||
minSize: 100,
|
||||
enableSorting: false,
|
||||
Cell: ({ cell }) => {
|
||||
const value = cell.getValue();
|
||||
return value ? dayjs(value).format('MMMM D, YYYY h:mma') : 'Never';
|
||||
},
|
||||
},
|
||||
{
|
||||
header: 'Active',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue