Skip to content

Commit

Permalink
fix: changelanguages failed
Browse files Browse the repository at this point in the history
  • Loading branch information
lsewcx committed Jul 13, 2024
1 parent e454a2c commit b429ae6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/settings/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ export default {
},
methods: {
setLocale(lang) {
if (i18next.languages.includes(lang)) {
i18next.changeLanguage(lang);
}
i18next.changeLanguage(lang);
},
onKeyDown(event) {
if (event.key === "Escape") {
Expand Down

0 comments on commit b429ae6

Please sign in to comment.