mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Create duplicated node underneath the existing one
This commit is contained in:
@@ -1347,8 +1347,8 @@ export default mixins(
|
|||||||
newNodeData.name = this.getUniqueNodeName(newNodeData.name);
|
newNodeData.name = this.getUniqueNodeName(newNodeData.name);
|
||||||
|
|
||||||
newNodeData.position = this.getNewNodePosition(
|
newNodeData.position = this.getNewNodePosition(
|
||||||
[node.position[0] + 180, node.position[1]],
|
[node.position[0], node.position[1] + 150],
|
||||||
[0, 110]
|
[0, 150]
|
||||||
);
|
);
|
||||||
|
|
||||||
await this.addNodes([newNodeData]);
|
await this.addNodes([newNodeData]);
|
||||||
|
|||||||
Reference in New Issue
Block a user