mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-25 11:04:25 +01:00
Fixed frontend language activation for pt_BR
This commit is contained in:
@@ -123,9 +123,10 @@ async function updateGeneralSettings() {
|
||||
.updateAccount(form.value)
|
||||
.then(() => {
|
||||
busStore.displayNotification({ msg: $gettext('Profile updated') })
|
||||
if (!(authStore.authUser.language in available)) {
|
||||
languageError.value =
|
||||
'<a href="google.com">language does not exists</a>'
|
||||
console.log(authStore.accountLanguage)
|
||||
console.log(available)
|
||||
if (!(authStore.accountLanguage in available)) {
|
||||
languageError.value = $gettext('Language does no exist')
|
||||
}
|
||||
})
|
||||
.finally(() => (loadingUpdateProfile.value = false))
|
||||
|
||||
Reference in New Issue
Block a user