Merge claude/2
This commit is contained in:
commit
540b0518c5
@ -25,6 +25,13 @@ if (typeof window.ConfigManager === 'undefined') {
|
|||||||
return;
|
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.
|
// Overview is the Admin landing — an ops/health board, not a config form.
|
||||||
if (category === 'overview') {
|
if (category === 'overview') {
|
||||||
try { this.sidebar.populateSidebar(); } catch (e) {}
|
try { this.sidebar.populateSidebar(); } catch (e) {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user