mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-13 09:04:04 +01:00
Few fixes
This commit is contained in:
@@ -16,12 +16,14 @@
|
||||
<label class="m-label">{{ $gettext('First name') }}</label>
|
||||
<v-text-field
|
||||
v-model="account.first_name"
|
||||
autocomplete="new-password"
|
||||
outlined
|
||||
dense
|
||||
/>
|
||||
<label class="m-label">{{ $gettext('Last name') }}</label>
|
||||
<v-text-field
|
||||
v-model="account.last_name"
|
||||
autocomplete="new-password"
|
||||
outlined
|
||||
dense
|
||||
/>
|
||||
|
||||
@@ -119,8 +119,11 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
if (this.account && this.account.random_password) {
|
||||
this.updatePassword(true)
|
||||
if (this.account) {
|
||||
this.form.random_password = this.account.random_password
|
||||
if (this.form.random_password) {
|
||||
this.updatePassword(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<v-navigation-drawer
|
||||
<v-navigation-drawer
|
||||
v-model="drawer"
|
||||
:mini-variant.sync="mini"
|
||||
permanent
|
||||
@@ -211,11 +211,11 @@ export default {
|
||||
icon: 'mdi-lock-outline',
|
||||
exact: true
|
||||
},
|
||||
{
|
||||
text: this.$gettext('Preferences'),
|
||||
icon: 'mdi-tune',
|
||||
exact: true
|
||||
},
|
||||
// {
|
||||
// text: this.$gettext('Preferences'),
|
||||
// icon: 'mdi-tune',
|
||||
// exact: true
|
||||
// },
|
||||
{
|
||||
text: this.$gettext('Forward'),
|
||||
condition: () => this.authUser.mailbox !== null,
|
||||
|
||||
Reference in New Issue
Block a user