diff --git a/containers/libreportal/frontend/components/apps/overview/js/overview-manager.js b/containers/libreportal/frontend/components/apps/overview/js/overview-manager.js index a2f88da..e20e46b 100644 --- a/containers/libreportal/frontend/components/apps/overview/js/overview-manager.js +++ b/containers/libreportal/frontend/components/apps/overview/js/overview-manager.js @@ -342,10 +342,16 @@ class OverviewManager { let sub; if (scanned) { const checked = u.lastChecked ? this.updater.fmtRel(u.lastChecked) : 'never'; - const bits = [`${u.apps} app${u.apps === 1 ? '' : 's'} tracked`]; - if (this.backup) bits.push(`${b.protectedLabel} backed up`); - bits.push(`last scan ${checked}`); - sub = bits.join(' · '); + if (!u.apps) { + // Nothing tracked yet — the counts ("0 apps tracked · 0/0 backed up") + // are just noise, so show only the scan time. + sub = `last scan ${checked}`; + } else { + const bits = [`${u.apps} app${u.apps === 1 ? '' : 's'} tracked`]; + if (this.backup) bits.push(`${b.protectedLabel} backed up`); + bits.push(`last scan ${checked}`); + sub = bits.join(' · '); + } } else { sub = 'The first automatic scan runs within a couple of minutes — or hit Check now.'; }