diff --git a/frontend/src/forms/CoreSettings.vue b/frontend/src/forms/CoreSettings.vue index 4550ddc5..0f394af9 100644 --- a/frontend/src/forms/CoreSettings.vue +++ b/frontend/src/forms/CoreSettings.vue @@ -92,8 +92,8 @@ this.loading = true const c = this.core await Api.core_save(c) - const core = await Api.core() - this.$store.commit('setCore', core) + this.$store.commit('setCore', c) + this.$i18n.locale = c.language || "en"; this.loading = false }, selectAll() { diff --git a/frontend/src/forms/Service.vue b/frontend/src/forms/Service.vue index 90b63cd6..a7e5cd1f 100644 --- a/frontend/src/forms/Service.vue +++ b/frontend/src/forms/Service.vue @@ -11,15 +11,15 @@