diff --git a/web/app/components/base/prompt-editor/plugins/workflow-variable-block/node.tsx b/web/app/components/base/prompt-editor/plugins/workflow-variable-block/node.tsx index e4154731ba..9fa518218f 100644 --- a/web/app/components/base/prompt-editor/plugins/workflow-variable-block/node.tsx +++ b/web/app/components/base/prompt-editor/plugins/workflow-variable-block/node.tsx @@ -18,7 +18,7 @@ export class WorkflowVariableBlockNode extends DecoratorNode { } static clone(node: WorkflowVariableBlockNode): WorkflowVariableBlockNode { - return new WorkflowVariableBlockNode(node.__variables, node.__workflowNodesMap) + return new WorkflowVariableBlockNode(node.__variables, node.__workflowNodesMap, node.__key) } isInline(): boolean {