diff --git a/ui/src/workflow/common/edge.ts b/ui/src/workflow/common/edge.ts index 0bf76fdea..f1939e9e4 100644 --- a/ui/src/workflow/common/edge.ts +++ b/ui/src/workflow/common/edge.ts @@ -21,9 +21,7 @@ class CustomEdge2 extends BezierEdge { this.isMounted = false this.handleMouseUp = (e: any) => { const element = e.target.parentNode.parentNode.querySelector('.lf-custom-edge-wrapper') - if (isMouseInElement(element, e)) { - this.props.model.isSelected = true this.props.model.graphModel.deleteEdgeById(this.props.model.id) } }