fix(ui): добавить load() в EntryPoint — UCI не загружался до render(), tab_order всегда был default
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user