You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "yeahhhz (via GitHub)" <gi...@apache.org> on 2023/06/21 05:19:20 UTC

[GitHub] [dolphinscheduler] yeahhhz commented on a diff in pull request #14382: [Improvement-14318][UI] migrate version 2.x workflow definition d3 tree view to version 3.x

yeahhhz commented on code in PR #14382:
URL: https://github.com/apache/dolphinscheduler/pull/14382#discussion_r1236291643


##########
dolphinscheduler-ui/src/views/projects/workflow/definition/tree/index.tsx:
##########
@@ -154,72 +188,100 @@ export default defineComponent({
       }))
     }
 
-    const initChartData = (node: any, newNode: any) => {
-      newNode.children = []
-      node?.children.map((child: any) => {
-        const newChild = {}
-        initChartData(child, newChild)
-        newNode.children.push(newChild)
-      })
+    // const initChartData = (node: any, newNode: any) => {

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org