Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
parzival418 committed May 21, 2024
2 parents f957e56 + 46874bc commit 04c83ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ export const SocketConfig = ({

const newEdges = edges.filter(edge => {
if (configKey === 'socketInputs') {
return edge.target !== node.id && edge.targetHandle !== name
return !(edge.target === node.id && edge.targetHandle === name)
}

if (configKey === 'socketOutputs') {
return edge.source !== node.id && edge.sourceHandle !== name
return !(edge.source === node.id && edge.sourceHandle === name)
}

return true
Expand Down

0 comments on commit 04c83ad

Please sign in to comment.