mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 14:59:41 +02:00
refactor(app): app events datatable [EE-5355] (#10024)
This commit is contained in:
parent
0eaf296e1b
commit
c472fe9c18
19 changed files with 277 additions and 19 deletions
|
@ -0,0 +1,11 @@
|
|||
import { formatDate } from '@/portainer/filters/filters';
|
||||
|
||||
import { columnHelper } from './helper';
|
||||
|
||||
export const date = columnHelper.accessor(
|
||||
(event) => formatDate(event.lastTimestamp || event.eventTime),
|
||||
{
|
||||
header: 'Date',
|
||||
id: 'Date',
|
||||
}
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue