Parcourir la source

fix(workflow): correct edge type mapping typo (#13988)

SToneX il y a 2 mois
Parent
commit
ee49d321c5
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      web/app/components/workflow/index.tsx

+ 2 - 1
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 = {