fix(edges): interrupt edge hidden check if orphaned edge found
This commit is contained in:
@@ -61,7 +61,7 @@ export default (state: State): ComputedGetters => {
|
||||
if (!source || !target) {
|
||||
console.warn(`[vue-flow]: Orphaned edge ${e.id} will be removed.`)
|
||||
state.edges = state.edges.filter((edge) => edge.id !== e.id)
|
||||
return true
|
||||
return
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user