Skip to content
Snippets Groups Projects
Commit ecf9ee41 authored by Johanna Szepanski's avatar Johanna Szepanski
Browse files

based duration on createdAt on job list view

parent b04c08e0
No related branches found
No related tags found
2 merge requests!612Release 5.0.0,!594CE-3447: Improve batch presentation
...@@ -12,8 +12,7 @@ export const JobStatusColumn = ({ job }: JobStatusColumnProps) => ( ...@@ -12,8 +12,7 @@ export const JobStatusColumn = ({ job }: JobStatusColumnProps) => (
<Stack gap={0.5}> <Stack gap={0.5}>
<JobStatus status={job.status} /> <JobStatus status={job.status} />
<StartAndDuration <StartAndDuration
createdAt={job.createdAt && new Date(job.createdAt)} startTime={job.createdAt && new Date(job.createdAt)}
startTime={job.startTime && new Date(job.startTime)}
finishedAt={job.finishedAt && new Date(job.finishedAt)} finishedAt={job.finishedAt && new Date(job.finishedAt)}
/> />
</Stack> </Stack>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment