🐛 Fix bug that webhookId did not get refreshed on node-duplicate

This commit is contained in:
Jan Oberhauser 2020-10-04 17:22:11 +02:00
parent a25229ace9
commit 82e16790c6

View file

@ -1421,6 +1421,11 @@ export default mixins(
[0, 150],
);
if (newNodeData.webhookId) {
// Make sure that the node gets a new unique webhook-ID
newNodeData.webhookId = uuidv4();
}
await this.addNodes([newNodeData]);
// Automatically deselect all nodes and select the current one and also active