fix(edges): interrupt edge hidden check if orphaned edge found

This commit is contained in:
braks
2022-10-07 22:55:38 +02:00
committed by Braks
parent 1ad6073699
commit d7282cc572
+1 -1
View File
@@ -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 (