From 6abe696d0bee48f82dd5d33416e1db414f212749 Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:13:42 +0100 Subject: [PATCH] fix(web): allow minimizing upload panel (#14663) --- .../components/shared-components/upload-panel.svelte | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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; } });