Skip to content

Commit 05eb794

Browse files
committed
Fix duplicate primary email message
1 parent 9d088df commit 05eb794

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

apps/settings/src/components/PersonalInfo/EmailSection/Email.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ export default {
194194
return t('settings', 'Additional email address {index}', { index: this.index + 1 })
195195
},
196196
197-
isNotificationEmail() {
198-
return (this.email === this.activeNotificationEmail)
199-
|| (this.primary && this.activeNotificationEmail === '')
200-
},
197+
isNotificationEmail() {
198+
return (this.email && this.email === this.activeNotificationEmail)
199+
|| (this.primary && this.activeNotificationEmail === '')
200+
},
201201
},
202202
203203
mounted() {

dist/settings-vue-settings-personal-info.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-personal-info.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)