Fix a couple of regressions in 1.2.6

This commit is contained in:
Zaid Abdulla committed 2021-09-18 14:34:11 -07:00
1 parent 8477cd1cfa
commit 9203417686
5 files changed
+32 -31

No files matched your search

+1
View File
@@ -360,6 +360,7 @@ async function fetchConfig(): Promise<[Config, UiConfig]> {
_config[c.id] = val;
if (c.id.startsWith("ui.")) {
const keys = c.id.split(".");
if (!(keys[1] in ui)) continue;
// remove the first key(ui)
keys.shift();
let ref = ui;