Merge claude/2

This commit is contained in:
librelad 2026-05-25 18:13:55 +01:00
commit 540b0518c5

View File

@ -25,6 +25,13 @@ if (typeof window.ConfigManager === 'undefined') {
return;
}
// The sidebar and page headers read window.configData. Load it up front so
// populateSidebar() has categories on a cold admin visit (e.g. straight
// from the dashboard); otherwise the overview/tools branches below render
// an empty sidebar until something else populates configData. Cached after
// the first call, so the config-category path below is a cache hit.
try { await this.core.loadConfig(category); } catch (e) {}
// Overview is the Admin landing — an ops/health board, not a config form.
if (category === 'overview') {
try { this.sidebar.populateSidebar(); } catch (e) {}