mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
fix(editor): Prevent setting sticky node as active node on new canvas (no-changelog) (#11141)
This commit is contained in:
@@ -610,10 +610,10 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
|
||||
|
||||
if (nodeData.type !== STICKY_NODE_TYPE) {
|
||||
void externalHooks.run('nodeView.addNodeButton', { nodeTypeName: nodeData.type });
|
||||
}
|
||||
|
||||
if (options.openNDV && !preventOpeningNDV) {
|
||||
ndvStore.setActiveNodeName(nodeData.name);
|
||||
if (options.openNDV && !preventOpeningNDV) {
|
||||
ndvStore.setActiveNodeName(nodeData.name);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user