Fix duplicate primary email message

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2022-03-02 01:15:37 +00:00
parent 9d088dfa5a
commit a68318a52b
3 changed files with 7 additions and 7 deletions

View file

@ -194,10 +194,10 @@ export default {
return t('settings', 'Additional email address {index}', { index: this.index + 1 })
},
isNotificationEmail() {
return (this.email === this.activeNotificationEmail)
|| (this.primary && this.activeNotificationEmail === '')
},
isNotificationEmail() {
return (this.email && this.email === this.activeNotificationEmail)
|| (this.primary && this.activeNotificationEmail === '')
},
},
mounted() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long