fix: node connect self (#3194)
This commit is contained in:
parent
3c3fb3cd3f
commit
86707928d4
3 changed files with 85 additions and 5 deletions
|
|
@ -301,6 +301,8 @@ export const useNodesInteractions = () => {
|
|||
target,
|
||||
targetHandle,
|
||||
}) => {
|
||||
if (source === target)
|
||||
return
|
||||
if (getNodesReadOnly())
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue