From ee49d321c5089298279b9c5777e30d681522901b Mon Sep 17 00:00:00 2001 From: SToneX Date: Wed, 19 Feb 2025 17:27:26 +0800 Subject: [PATCH] fix(workflow): correct edge type mapping typo (#13988) --- web/app/components/workflow/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/components/workflow/index.tsx b/web/app/components/workflow/index.tsx index 0510109b39..25a449f005 100644 --- a/web/app/components/workflow/index.tsx +++ b/web/app/components/workflow/index.tsx @@ -82,6 +82,7 @@ import { initialNodes, } from './utils' import { + CUSTOM_EDGE, CUSTOM_NODE, DSL_EXPORT_CHECK, ITERATION_CHILDREN_Z_INDEX, @@ -103,7 +104,7 @@ const nodeTypes = { [CUSTOM_ITERATION_START_NODE]: CustomIterationStartNode, } const edgeTypes = { - [CUSTOM_NODE]: CustomEdge, + [CUSTOM_EDGE]: CustomEdge, } type WorkflowProps = {