mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 16:03:21 +00:00
only display loader of custom component if custom component is rendered
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
<InitializeComponent {id} />
|
||||
<div class="w-full h-full overflow-auto {customComponent?.name ?? 'no_name'}">
|
||||
<RunnableWrapper {outputs} render autoRefresh {componentInput} {id} bind:result>
|
||||
{#if !loaded}
|
||||
{#if !loaded && render}
|
||||
<Loader2 class="animate-spin" />
|
||||
{/if}
|
||||
<div id={divId}></div>
|
||||
|
||||
Reference in New Issue
Block a user