This is an automated email from the ASF dual-hosted git repository.

wenjun 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 dc8a5a80f1 [Fix-17414]Workflow relation are not displayed in ui 
(#17417)
dc8a5a80f1 is described below

commit dc8a5a80f15506d06c3d9c32743376e46be37547
Author: [email protected] <[email protected]>
AuthorDate: Sat Aug 16 15:15:34 2025 +0800

    [Fix-17414]Workflow relation are not displayed in ui (#17417)
---
 dolphinscheduler-ui/src/service/modules/lineages/types.ts           | 6 ++++--
 .../src/views/projects/workflow/relation/use-relation.ts            | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dolphinscheduler-ui/src/service/modules/lineages/types.ts 
b/dolphinscheduler-ui/src/service/modules/lineages/types.ts
index 13ebb90fcb..b6bc3a7a57 100644
--- a/dolphinscheduler-ui/src/service/modules/lineages/types.ts
+++ b/dolphinscheduler-ui/src/service/modules/lineages/types.ts
@@ -43,8 +43,10 @@ interface WorkFlowRelationList {
 }
 
 interface WorkflowRes {
-  workFlowRelationDetailList: WorkFlowRelationDetailListRes[]
-  workFlowRelationList: WorkFlowRelationList[]
+  data: {
+    workFlowRelationDetailList: WorkFlowRelationDetailListRes[]
+    workFlowRelationList: WorkFlowRelationList[]
+  }
 }
 
 interface DependentTaskReq extends WorkflowCodeReq {
diff --git 
a/dolphinscheduler-ui/src/views/projects/workflow/relation/use-relation.ts 
b/dolphinscheduler-ui/src/views/projects/workflow/relation/use-relation.ts
index 4fa826d49b..6dc9354333 100644
--- a/dolphinscheduler-ui/src/views/projects/workflow/relation/use-relation.ts
+++ b/dolphinscheduler-ui/src/views/projects/workflow/relation/use-relation.ts
@@ -40,7 +40,7 @@ export function useRelation() {
     variables.seriesData = []
     variables.links = []
 
-    variables.seriesData = obj.workFlowRelationDetailList.map((item) => {
+    variables.seriesData = obj.data.workFlowRelationDetailList.map((item) => {
       return {
         name: item.workFlowName,
         id: item.workFlowCode,
@@ -48,7 +48,7 @@ export function useRelation() {
       }
     }) as any
 
-    variables.links = obj.workFlowRelationList.map((item) => {
+    variables.links = obj.data.workFlowRelationList.map((item) => {
       return {
         source: String(item.sourceWorkFlowCode),
         target: String(item.targetWorkFlowCode)

Reply via email to