Few fixes

This commit is contained in:
Antoine Nguyen
2022-01-13 09:35:25 +01:00
parent cc1ae428c4
commit bc829abb6e
4 changed files with 25 additions and 18 deletions
@@ -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)
}
}
}
}
+6 -6
View File
@@ -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,