fix: Flow not properly pre-loading state

* pass key to initFlow to possibly find a pre-existing state

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-20 00:40:42 +01:00
parent 52351c38a5
commit 6a1571e6e3
4 changed files with 19 additions and 17 deletions
+1 -1
View File
@@ -55,7 +55,6 @@ const toggleclasss = () => {
return el
})
}
useVueFlow()
</script>
<template>
<VueFlow
@@ -64,6 +63,7 @@ useVueFlow()
:default-zoom="1.5"
:min-zoom="0.2"
:max-zoom="4"
:zoom-on-scroll="false"
@elements-remove="onElementsRemove"
@connect="onConnect"
@node-drag-stop="onNodeDragStop"