update(flow): set modelValue after initialization of elements

* remove extra edge parsing

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent 7b4dde4411
commit 95fc013613
2 changed files with 1 additions and 22 deletions
+1
View File
@@ -116,6 +116,7 @@ const options = Object.assign({}, store.$state, props)
invoke(async () => {
store.setState(options)
await store.setElements(elements.value)
elements.value = store.elements
store.isReady = true
// if ssr we can't wait for dimensions, they'll never really exist