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 8215fa8e6f [Fix][UI Next][V1.0.0-Beta] Fix console bug  after deleting 
a node from the context menu. (#9932)
8215fa8e6f is described below

commit 8215fa8e6f01f5479a1487b70b7b21bf138cdc41
Author: Amy0104 <[email protected]>
AuthorDate: Sat May 7 14:18:17 2022 +0800

    [Fix][UI Next][V1.0.0-Beta] Fix console bug  after deleting a node from the 
context menu. (#9932)
---
 .../src/views/projects/workflow/components/dag/use-task-edit.ts         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts
 
b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts
index 87a22e9ea5..9f305825c0 100644
--- 
a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts
+++ 
b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts
@@ -120,7 +120,7 @@ export function useTaskEdit(options: Options) {
           process.postTaskCode === code || process.preTaskCode === code
       )
     })
-    cells.forEach((cell) => {
+    cells?.forEach((cell) => {
       if (cell.isEdge()) {
         const preTaskCode = cell.getSourceCellId()
         const postTaskCode = cell.getTargetCellId()

Reply via email to