core: fix system_setting to update codeLang list

This commit is contained in:
undefined committed 2021-03-11 13:21:55 +08:00
1 parent e7780c56bb
commit be0b90dcd4
8 files changed
+23 -10

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ bus.once('app/started', async () => {
bus.on('system/setting', (args) => {
if (!args.lang?.texts) return;
SETTINGS_BY_KEY['lang.texts'].value = args.lang.texts;
SETTINGS_BY_KEY['codeLang'].range = args.lang.texts;
});
global.Hydro.model.setting = {