mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
fix(editor): Allow connecting node to itself on new canvas (no-changelog) (#11143)
This commit is contained in:
@@ -1299,10 +1299,6 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
|
||||
): boolean {
|
||||
const blocklist = [STICKY_NODE_TYPE];
|
||||
|
||||
if (sourceNode.id === targetNode.id) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (sourceConnectionType !== targetConnectionType) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user