mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Ensure profile form gets validated too
This commit is contained in:
@@ -281,12 +281,14 @@ const generalForm = ref()
|
||||
const mailboxForm = ref()
|
||||
const aliasForm = ref()
|
||||
const resourcesForm = ref()
|
||||
const profileForm = ref()
|
||||
|
||||
//formMap
|
||||
const formMap = computed(() => {
|
||||
const map = {
|
||||
roleForm: roleForm,
|
||||
generalForm: generalForm,
|
||||
profileForm: profileForm,
|
||||
}
|
||||
if (usernameIsEmail.value) {
|
||||
map.aliasForm = aliasForm
|
||||
|
||||
Reference in New Issue
Block a user