diff --git a/src/mixins/lang.js b/src/mixins/lang.js index b7eb6f3d8..32d23e9f5 100644 --- a/src/mixins/lang.js +++ b/src/mixins/lang.js @@ -37,6 +37,7 @@ export default { /** * Change the language for the current page (no localstore set) * @param {string} lang Code of language to switch to. + * @returns {Promise} */ async changeCurrentPageLang(lang) { let message = (await langModules["../lang/" + lang + ".json"]()).default;