mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 17:44:52 -04:00
Convert translator callbacks to async/await (#3048)
Co-authored-by: veeck <michael@veeck.de>
This commit is contained in:
parent
a23769156e
commit
2b792cdbb8
7 changed files with 92 additions and 119 deletions
|
@ -485,8 +485,7 @@ const MM = (function () {
|
|||
|
||||
Log.setLogLevel(config.logLevel);
|
||||
|
||||
Translator.loadCoreTranslations(config.language);
|
||||
Loader.loadModules();
|
||||
Translator.loadCoreTranslations(config.language).then(() => Loader.loadModules());
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue