adjusted to fix Jovimetrix node colorization

This commit is contained in:
Alexander G. Morano
2024-04-25 10:39:16 -07:00
parent 6de3b593f9
commit e3a71714bc
+5 -2
View File
@@ -30,9 +30,12 @@ jsloader(cnPath + "js/functions/settings.js");
let CUSTOM_COLORS;
try {
const CONFIG_CORE = await api_get("/jovimetrix/config")
var response = await api.fetchApi("/jovimetrix/config", { cache: "no-store" })
const CONFIG_CORE = await response.json()
CUSTOM_COLORS = CONFIG_CORE?.user?.default?.color?.theme;
} catch { }
} catch (err) {
console.log(err)
}
let categorySearchToggle = false;