diff --git a/.changeset/late-pugs-jog.md b/.changeset/late-pugs-jog.md new file mode 100644 index 00000000..5448ce97 --- /dev/null +++ b/.changeset/late-pugs-jog.md @@ -0,0 +1,5 @@ +--- +'@smartcontractkit/operator-ui': patch +--- + +Fix a bug that would show all tasks in task list as completed diff --git a/src/screens/JobRun/JobRunView.tsx b/src/screens/JobRun/JobRunView.tsx index e401ec63..e3c6d3a7 100644 --- a/src/screens/JobRun/JobRunView.tsx +++ b/src/screens/JobRun/JobRunView.tsx @@ -87,7 +87,7 @@ export const JobRunView = ({ run }: Props) => { graph.forEach((node) => { attrs[node.id] = { ...node.attributes, - status: TaskRunStatus.COMPLETE, + status: attrs[node.id].status, } }) }