mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Fix linter warning
This commit is contained in:
parent
60271ffa0b
commit
144794b770
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