mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Fix linter warning
This commit is contained in:
parent
c3b4ad85e5
commit
b75580003f
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ export default {
|
||||||
/**
|
/**
|
||||||
* Change the language for the current page (no localstore set)
|
* Change the language for the current page (no localstore set)
|
||||||
* @param {string} lang Code of language to switch to.
|
* @param {string} lang Code of language to switch to.
|
||||||
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
async changeCurrentPageLang(lang) {
|
async changeCurrentPageLang(lang) {
|
||||||
let message = (await langModules["../lang/" + lang + ".json"]()).default;
|
let message = (await langModules["../lang/" + lang + ".json"]()).default;
|
||||||
|
|
Loading…
Reference in a new issue