Compare commits

..

No commits in common. "cc607943671833e1c7f2a3e6b6dbeaedb5e81495" and "574aaad565781dda0c9e94efc52f7b2ca5a460b1" have entirely different histories.

View File

@ -342,16 +342,10 @@ class OverviewManager {
let sub;
if (scanned) {
const checked = u.lastChecked ? this.updater.fmtRel(u.lastChecked) : 'never';
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(' · ');
}
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.';
}