Skip to content

best way to save what you love

web/Omnibox: hide the clear button if request is processing

wukko92008d301236
diff --git a/web/src/components/save/Omnibox.svelte b/web/src/components/save/Omnibox.svelte
index c8ad692d..dfbd560e 100644
--- a/web/src/components/save/Omnibox.svelte
+++ b/web/src/components/save/Omnibox.svelte
@@ -35,9 +35,10 @@
let downloadButton: SvelteComponent;
let isFocused = false;
+
let isDisabled = false;
- let isBotCheckOngoing = false;
let isLoading = false;
+ let isBotCheckOngoing = false;
const validLink = (url: string) => {
try {
@@ -164,7 +165,7 @@
disabled={isDisabled}
/>
- {#if $link}
+ {#if $link && !isLoading}
<ClearButton click={() => ($link = "")} />
{/if}
{#if validLink($link)}