From f1a8fd27100e4979eb3b0147fc5abfe63c866794 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Fri, 13 Sep 2024 21:42:40 -0300 Subject: [PATCH] Integrate update config language dropdown --- src/pages/Account/AccountConfig.vue | 4 +++- src/stores/user.js | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/pages/Account/AccountConfig.vue b/src/pages/Account/AccountConfig.vue index 7f1694ae..5f22f0fb 100644 --- a/src/pages/Account/AccountConfig.vue +++ b/src/pages/Account/AccountConfig.vue @@ -99,7 +99,9 @@ onMounted(() => fetchLanguagesSql()); option-label="name" option-value="code" :options="langOptions" - @update:model-value="vnFormRef.submit()" + @update:model-value=" + userStore.updateUserLang(data.lang) + " />