mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(web): allow minimizing upload panel (#14663)
This commit is contained in:
parent
59d6af54c7
commit
6abe696d0b
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user