Skip to content

Commit 36f7660

Browse files
monikakusterkresimir-coko
authored andcommitted
4872 added End date column
1 parent 37a7f0e commit 36f7660

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

client/src/pages/automation/workflow-executions/components/WorkflowExecutionsTable.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@ const WorkflowExecutionsTable = ({data}: {data: WorkflowExecution[]}) => {
6464
),
6565
header: 'Execution date',
6666
}),
67+
columnHelper.accessor((row) => row.job, {
68+
cell: (info) => (
69+
<>
70+
{info.getValue()?.endDate &&
71+
`${info.getValue()?.endDate?.toLocaleDateString()} ${info
72+
.getValue()
73+
?.endDate?.toLocaleTimeString()}`}
74+
</>
75+
),
76+
header: 'End date',
77+
}),
6778
columnHelper.accessor((row) => row.job, {
6879
cell: (info) => <WorkflowExecutionsDropdownMenu data={info} />,
6980
header: 'Action',

0 commit comments

Comments
 (0)