We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d59b3ed commit 627b00bCopy full SHA for 627b00b
ui/src/utils/guiTheme.js
@@ -87,8 +87,10 @@ async function applyDynamicCustomization (response) {
87
vueProps.$config.favicon = jsonConfig?.favicon ?? vueProps.$config.favicon
88
vueProps.$config.css = response?.css ?? null
89
90
- vueProps.$localStorage.set('LOCALE', vueProps.$config.defaultLanguage)
91
- loadLanguageAsync(vueProps.$config.defaultLanguage)
+ if (vueProps.$config.defaultLanguage) {
+ vueProps.$localStorage.set('LOCALE', vueProps.$config.defaultLanguage)
92
+ loadLanguageAsync()
93
+ }
94
95
await applyStaticCustomization(vueProps.$config.favicon, vueProps.$config.css)
96
}
0 commit comments