mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-13 08:02:47 +00:00
fix: no loading spinner in the pane while a clicked script loads
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
cf8c0e4257
commit
cb40c9973e
@@ -1339,10 +1339,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
{:else if !isDraft && scriptRes.loading && !script}
|
||||
<div class="absolute inset-0 flex items-center justify-center gap-2 text-tertiary">
|
||||
<Loader2 size={16} class="animate-spin" />
|
||||
<span class="text-xs">Loading script…</span>
|
||||
</div>
|
||||
<!-- Blank while the script loads: the fetch is short, and a spinner only flashes. -->
|
||||
{:else if !isDraft && scriptRes.error}
|
||||
<div class="p-3 text-xs text-red-500">
|
||||
Failed to load: {scriptRes.error.message}
|
||||
|
||||
Reference in New Issue
Block a user