This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 0643fe44a4 [Fix][UI Next][V1.0.0-Beta] Fix success logo is not display
bug (#9694)
0643fe44a4 is described below
commit 0643fe44a4a520727abd61ebcd9af293e25d762f
Author: Devosend <[email protected]>
AuthorDate: Sun Apr 24 15:28:26 2022 +0800
[Fix][UI Next][V1.0.0-Beta] Fix success logo is not display bug (#9694)
---
.../views/projects/workflow/components/dag/use-node-status.ts | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git
a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-status.ts
b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-status.ts
index 8a36122573..68148a71eb 100644
---
a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-status.ts
+++
b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-status.ts
@@ -79,9 +79,12 @@ export function useNodeStatus(options: Options) {
if (taskList.value) {
taskList.value.forEach((taskInstance: any) => {
setNodeStatus(taskInstance.taskCode, taskInstance.state,
taskInstance)
- nodeStore.updateDependentResult(
- JSON.parse(taskInstance.dependentResult)
- )
+
+ if (taskInstance.dependentResult) {
+ nodeStore.updateDependentResult(
+ JSON.parse(taskInstance.dependentResult)
+ )
+ }
})
}
})