mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-19 08:57:09 +03:00
🐛 Fix bug that node was not selected after rename
This commit is contained in:
parent
2d8038669a
commit
117630fb68
@ -1465,6 +1465,10 @@ export default mixins(
|
||||
|
||||
// Add the new updated nodes
|
||||
await this.addNodes(Object.values(workflow.nodes), workflow.connectionsBySourceNode);
|
||||
|
||||
// Make sure that the node is selected again
|
||||
this.deselectAllNodes();
|
||||
this.nodeSelectedByName(newName);
|
||||
},
|
||||
async addNodes (nodes: INodeUi[], connections?: IConnections) {
|
||||
if (!nodes || !nodes.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user