diff --git a/frontend/src/organisms/connection/collection/shell.svelte b/frontend/src/organisms/connection/collection/shell.svelte index 03581fd..ea6ab32 100644 --- a/frontend/src/organisms/connection/collection/shell.svelte +++ b/frontend/src/organisms/connection/collection/shell.svelte @@ -12,9 +12,12 @@ let result = {}; let copySucceeded = false; let timeout; + let busy = false; async function run() { + busy = true; result = await collection.executeShellScript(script); + busy = false; } async function copyErrorDescription() { @@ -34,7 +37,9 @@
- {#if result.errorTitle || result.errorDescription} + {#if busy} + + {:else if result.errorTitle || result.errorDescription}