From a2b54a26994f8dc7f2653b16c7d650abc7c96db1 Mon Sep 17 00:00:00 2001 From: george-dorin <120329946+george-dorin@users.noreply.github.com> Date: Thu, 22 Feb 2024 12:51:39 +0200 Subject: [PATCH] Fix job run task list incorect symbol (#68) --- .changeset/late-pugs-jog.md | 5 +++++ src/screens/JobRun/JobRunView.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/late-pugs-jog.md 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, } }) }