diff --git a/web/src/lib/components/shared-components/upload-panel.svelte b/web/src/lib/components/shared-components/upload-panel.svelte index 7dd6d25596..2381b5a423 100644 --- a/web/src/lib/components/shared-components/upload-panel.svelte +++ b/web/src/lib/components/shared-components/upload-panel.svelte @@ -17,19 +17,9 @@ let { stats, isDismissible, isUploading, remainingUploads } = uploadAssetsStore; - const autoHide = () => { - if (!$isUploading && showDetail) { - showDetail = false; - } - - if ($isUploading && !showDetail) { - showDetail = true; - } - }; - $effect(() => { if ($isUploading) { - autoHide(); + showDetail = true; } });