diff --git a/webapp/components/LocaleSwitch/LocaleSwitch.vue b/webapp/components/LocaleSwitch/LocaleSwitch.vue index 2251dc7ff..307425aca 100644 --- a/webapp/components/LocaleSwitch/LocaleSwitch.vue +++ b/webapp/components/LocaleSwitch/LocaleSwitch.vue @@ -73,7 +73,7 @@ export default { methods: { changeLanguage(locale, toggleMenu) { this.$i18n.set(locale) - this.change() + this.updateUserLocale() toggleMenu() }, matcher(locale) { @@ -83,7 +83,7 @@ export default { ...mapMutations({ setCurrentUser: 'auth/SET_USER', }), - async change() { + async updateUserLocale() { try { await this.$apollo.mutate({ mutation: localeMutation(),