diff --git a/ui/src/workflow/nodes/loop-node/index.ts b/ui/src/workflow/nodes/loop-node/index.ts index 2d0158303..06039c5f0 100644 --- a/ui/src/workflow/nodes/loop-node/index.ts +++ b/ui/src/workflow/nodes/loop-node/index.ts @@ -1,9 +1,12 @@ import LoopNode from './index.vue' import { AppNode, AppNodeModel } from '@/workflow/common/app-node' import { WorkflowType } from '@/enums/application' + class LoopNodeView extends AppNode { constructor(props: any) { + const config = props.model.properties.config super(props, LoopNode) + props.model.properties.config = config } } class LoopModel extends AppNodeModel {