fix: vue3 language switcher (#2712)

This commit is contained in:
dni ⚡
2024-09-25 12:09:00 +02:00
committed by GitHub
parent 04882e05a3
commit 3ac6bc3c3b
12 changed files with 269 additions and 372 deletions
+1 -1
View File
@@ -615,7 +615,7 @@ window.windowMixin = {
let locale = this.$q.localStorage.getItem('lnbits.lang')
if (locale) {
window.LOCALE = locale
window.i18n.locale = locale
window.i18n.global.locale = locale
}
this.g.langs = window.langs ?? []