mirror of
https://github.com/heyman/heynote.git
synced 2024-11-24 17:03:19 +01:00
fix: changelanguages failed
This commit is contained in:
parent
e454a2cf9f
commit
b429ae61e2
@ -73,9 +73,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
setLocale(lang) {
|
||||
if (i18next.languages.includes(lang)) {
|
||||
i18next.changeLanguage(lang);
|
||||
}
|
||||
},
|
||||
onKeyDown(event) {
|
||||
if (event.key === "Escape") {
|
||||
|
Loading…
Reference in New Issue
Block a user