diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-14 16:50:35 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-14 16:50:35 +0300 |
commit | cec68f3f8d7cac5492fb7bd28cb4564f4f5c8cb5 (patch) | |
tree | 0560100f32724d36e5a392f8bdc8330a49bd9884 /apps | |
parent | 1e6e0cf7b67dadb1e589121ced65aad3bbd88433 (diff) |
the user always may modify their additional emails
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue b/apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue index cd9b0aa6760..0ae18a6fe9b 100644 --- a/apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue +++ b/apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue @@ -25,7 +25,7 @@ :account-property="accountProperty" label-for="email" :handle-scope-change="savePrimaryEmailScope" - :is-editable="displayNameChangeSupported" + :is-editable="true" :is-multi-value-supported="true" :is-valid-section="isValidSection" :scope.sync="primaryEmail.scope" @@ -37,18 +37,17 @@ :scope.sync="primaryEmail.scope" :email.sync="primaryEmail.value" @update:email="onUpdateEmail" /> - <Email v-for="(additionalEmail, index) in additionalEmails" - :key="index" - :index="index" - :scope.sync="additionalEmail.scope" - :email.sync="additionalEmail.value" - @update:email="onUpdateEmail" - @delete-additional-email="onDeleteAdditionalEmail(index)" /> </template> - <span v-else> {{ primaryEmail.value || t('settings', 'No email address set') }} </span> + <Email v-for="(additionalEmail, index) in additionalEmails" + :key="index" + :index="index" + :scope.sync="additionalEmail.scope" + :email.sync="additionalEmail.value" + @update:email="onUpdateEmail" + @delete-additional-email="onDeleteAdditionalEmail(index)" /> </section> </template> |