Compare commits

..

No commits in common. "d4e5cdca839ec36038c27ff51198cb40cba1063f" and "18ff440115519a4687c127dd14c25d8e54ae71cf" have entirely different histories.

3 changed files with 7 additions and 17 deletions

View File

@ -76,10 +76,10 @@ class ConfigSidebar {
var self = this; // Preserve 'this' context
categoriesArray.forEach(function(category) {
// The backup config category (engine/schedule/retention) surfaces here in
// Admin. The operational backup center (/backup, reached from Overview
// Backups) keeps locations, migrate and snapshots. Both bind the same
// generated category, so edits stay in sync.
// Backup category has its own top-level page (/backup) which renders
// these same fields dynamically — hide it from the /config sidebar to
// avoid two surfaces for the same data.
if (category.id === 'backup') return;
const categoryItem = document.createElement('div');
categoryItem.className = 'category';

View File

@ -489,9 +489,9 @@ class AppsManager {
chip.style.cursor = 'pointer';
chip.style.display = '';
chip.onclick = () => {
if (typeof window.navigateToRoute === 'function') window.navigateToRoute('/overview/improvements');
else if (typeof window.spaClean === 'function') window.spaClean('/overview/improvements');
else window.location.href = '/overview/improvements';
if (typeof window.navigateToRoute === 'function') window.navigateToRoute('/updater/improvements');
else if (typeof window.spaClean === 'function') window.spaClean('/updater/improvements');
else window.location.href = '/updater/improvements';
};
} catch (_) { /* best-effort */ }
}

View File

@ -370,16 +370,6 @@ class LibrePortalSPAClean {
else { const seg = p.replace(/^\/config\/?/, ''); if (seg) cat = seg; }
return (typeof window.adminPath === 'function') ? window.adminPath(cat) : '/admin';
}
// The standalone Updater page is now the fleet Overview area. /updater[/tab]
// -> /overview[/tab]; security/recovery/history folded into the Updates
// expander, so they land on /overview/updates. (/backup is NOT redirected —
// it remains the operational backup center, reached from Overview Backups.)
if (p === '/updater' || p.startsWith('/updater/')) {
const seg = p.replace(/^\/updater\/?/, '');
if (seg === 'updates' || seg === 'improvements') return '/overview/' + seg;
if (!seg || seg === 'overview') return '/overview';
return '/overview/updates';
}
return null;
}