diff --git a/web/src/components/misc/PopoverContainer.svelte b/web/src/components/misc/PopoverContainer.svelte
index 2b060bcb..2937ab1f 100644
--- a/web/src/components/misc/PopoverContainer.svelte
+++ b/web/src/components/misc/PopoverContainer.svelte
@@ -1,22 +1,15 @@
diff --git a/web/src/components/queue/ProcessingQueue.svelte b/web/src/components/queue/ProcessingQueue.svelte
index ca76b7ac..5da1a39b 100644
--- a/web/src/components/queue/ProcessingQueue.svelte
+++ b/web/src/components/queue/ProcessingQueue.svelte
@@ -47,11 +47,14 @@
$: indeterminate = queue.length > 0 && totalProgress === 0;
- const popoverAction = async () => {
+ const popoverAction = () => {
expanded = !expanded;
- if (expanded) updateQuota();
};
+ $: if (expanded) {
+ updateQuota();
+ }
+
onNavigate(() => {
expanded = false;
});
@@ -59,21 +62,20 @@
onMount(() => {
// clear old files from storage on first page load
clearFileStorage();
- })
+ });