mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Fix duplicate primary email message
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit a68318a52b)
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
0d5c2cd0f0
commit
04a85ea811
3 changed files with 8 additions and 8 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -198,10 +198,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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue