1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-26 05:01:05 +02:00

fix(web): allow minimizing upload panel (#14663)

This commit is contained in:
Michel Heusschen
2024-12-12 17:13:42 +01:00
committed by GitHub
parent 59d6af54c7
commit 6abe696d0b

View File

@ -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;
}
});
</script>