web/ProcessingQueue: open the queue popover when new item is added

This commit is contained in:
wukko
2025-03-07 21:03:50 +06:00
parent 714e71751e
commit 1137ccfd3b
3 changed files with 32 additions and 16 deletions

View File

@@ -0,0 +1,10 @@
import { get, writable } from "svelte/store";
export const queueVisible = writable(false);
export const showQueuePopover = () => {
const visible = get(queueVisible);
if (!visible) {
return queueVisible.update(v => !v);
}
}