Compare commits
No commits in common. "540b0518c5e5ee9678c8a1735da0c7eaa8a142b9" and "6be0db57daba6116584b364094d790109737ba97" have entirely different histories.
540b0518c5
...
6be0db57da
@ -25,13 +25,6 @@ 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