highlight active language #1730 (#1741)

This commit is contained in:
dni ⚡
2023-06-01 11:33:53 +01:00
committed by GitHub
parent af660fec14
commit 8ed2422ade
4 changed files with 6 additions and 2 deletions
+3
View File
@@ -350,6 +350,9 @@ window.windowMixin = {
},
methods: {
activeLanguage: function (lang) {
return window.i18n.locale === lang
},
changeLanguage: function (newValue) {
window.i18n.locale = newValue
this.$q.localStorage.set('lnbits.lang', newValue)