fix(ui): добавить load() в EntryPoint — UCI не загружался до render(), tab_order всегда был default

This commit is contained in:
Dushnilin
2026-09-01 19:36:44 +03:00
parent 79a4d477db
commit f55f37f804
@@ -128,6 +128,11 @@ function configureGridSection(sectionRef, type, title, addTitle) {
} }
const EntryPoint = { const EntryPoint = {
load() {
// Pre-load UCI so that tab_order and show_tab_* are available
// synchronously in render() before section factories are registered.
return uci.load([UCI_PACKAGE]);
},
async render() { async render() {
main.injectGlobalStyles(); main.injectGlobalStyles();
const uiCapabilities = { const uiCapabilities = {