feat: Hide queue summary until items are added

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-01-06 17:00:50 -07:00
parent 16f1d0df0c
commit a86c0f4bac
3 changed files with 7 additions and 2 deletions

View File

@@ -136,6 +136,11 @@ function render(){
});
} catch {}
const summaryEl = document.getElementById('summary');
if (summaryEl) {
summaryEl.classList.toggle('hidden', items.length === 0);
}
const c = {queued:0,uploading:0,done:0,dup:0,err:0};
for(const it of items){
if(['queued','checking'].includes(it.status)) c.queued++;