From b75580003ff6c07b996b2d136c14a43fe2536aa1 Mon Sep 17 00:00:00 2001 From: Wampie Driessen <1059058+wampiedriessen@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:35:52 +0200 Subject: [PATCH] Fix linter warning --- src/mixins/lang.js | 1 + 1 file changed, 1 insertion(+) 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;