diff --git a/frontend/app.js b/frontend/app.js index 0f8cfe0..1f19e97 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -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++; diff --git a/frontend/index.html b/frontend/index.html index 873ff94..675abfd 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -51,7 +51,7 @@ -
+ -
+