mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-30 22:02:03 -08:00
fix(editor): Update selected node when navigating via flowing nodes (#12581)
This commit is contained in:
parent
13bf69f75c
commit
88659d8a29
|
@ -996,7 +996,11 @@ async function onRevertAddNode({ node }: { node: INodeUi }) {
|
|||
}
|
||||
|
||||
async function onSwitchActiveNode(nodeName: string) {
|
||||
const node = workflowsStore.getNodeByName(nodeName);
|
||||
if (!node) return;
|
||||
|
||||
setNodeActiveByName(nodeName);
|
||||
selectNodes([node.id]);
|
||||
}
|
||||
|
||||
async function onOpenSelectiveNodeCreator(node: string, connectionType: NodeConnectionType) {
|
||||
|
|
Loading…
Reference in a new issue