Skip to content

Commit 81f2093

Browse files
committed
515 - use job status, now task executions can have failed status but the job is still completed
1 parent e3203c7 commit 81f2093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/shared/components/workflow-executions/WorkflowExecutionsHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const WorkflowExecutionsHeader = ({job, triggerExecution}: {job: Job; triggerExe
55
const startTime = job?.startDate?.getTime();
66
const endTime = job?.endDate?.getTime();
77

8-
const taskExecutionsCompleted = job?.taskExecutions?.every((taskExecution) => taskExecution.status === 'COMPLETED');
8+
const taskExecutionsCompleted = job?.status === 'COMPLETED';
99
const triggerExecutionCompleted = !triggerExecution || triggerExecution?.status === 'COMPLETED';
1010

1111
let duration = 0;

0 commit comments

Comments
 (0)