mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 16:09:39 +00:00
fix decision tree initial rendering
This commit is contained in:
+12
-10
@@ -38,16 +38,18 @@
|
||||
<Splitpanes>
|
||||
<Pane size={60}>
|
||||
<div class="w-full h-full" bind:clientWidth={paneWidth} bind:clientHeight={paneHeight}>
|
||||
<DecisionTreePreview
|
||||
bind:nodes
|
||||
bind:component
|
||||
{rebuildOnChange}
|
||||
{paneHeight}
|
||||
{paneWidth}
|
||||
on:render={() => {
|
||||
renderCount++
|
||||
}}
|
||||
/>
|
||||
{#if paneWidth && paneHeight}
|
||||
<DecisionTreePreview
|
||||
bind:nodes
|
||||
bind:component
|
||||
{rebuildOnChange}
|
||||
{paneHeight}
|
||||
{paneWidth}
|
||||
on:render={() => {
|
||||
renderCount++
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
</Pane>
|
||||
<Pane size={40}>
|
||||
|
||||
Reference in New Issue
Block a user