fix(nodes): prevent initial dimensions being emitted twice

This commit is contained in:
braks
2022-07-28 22:54:56 +02:00
committed by Braks
parent 5c688030f5
commit 1db74cf8b6
@@ -97,7 +97,7 @@ onMounted(() => {
() => { () => {
updateNodeDimensions([{ id, nodeElement: nodeElement.value }]) updateNodeDimensions([{ id, nodeElement: nodeElement.value }])
}, },
{ immediate: true, flush: 'post' }, { flush: 'post' },
) )
watch( watch(