fix(flow): await until d3zoom is rdy

This commit is contained in:
Braks
2022-04-11 11:30:10 +02:00
parent 2048423ab0
commit 8c2227132f
+1 -1
View File
@@ -308,7 +308,7 @@ export default (state: State, getters: ComputedGetters): Actions => {
const option = opts[o as keyof typeof opts]
if (!skip.includes(o) && isDef(option)) (<any>state)[o] = option
})
if (!state.paneReady)
if (!state.d3Zoom)
until(() => state.d3Zoom)
.not.toBeUndefined()
.then(() => {