ui : queue the draft-only selection for download

Assisted-by: pi:zai-org/GLM-5.3
This commit is contained in:
Aleksander Grygier
2026-09-02 12:38:45 +02:00
parent 2d1408822b
commit 8be6eed8b7
@@ -277,10 +277,12 @@
let downloadQueue = $derived.by(() =>
mainEntry
? selected
: [
...selected.filter((f) => f.kind === 'main' || f.kind === 'aux'),
...(commandMain ? [commandMain] : [])
]
: draftEntry
? selected
: [
...selected.filter((f) => f.kind === 'main' || f.kind === 'aux'),
...(commandMain ? [commandMain] : [])
]
);
/** Total bytes the CTA would fetch; drives the size in the button label. */