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:
Christopher Ng 2022-03-02 01:15:37 +00:00
parent 5d6be7fda5
commit 73f8fb1849
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -179,8 +179,8 @@ export default {
},
isNotificationEmail() {
return (this.email === this.activeNotificationEmail)
|| (this.primary && this.activeNotificationEmail === '')
return (this.email && this.email === this.activeNotificationEmail)
|| (this.primary && this.activeNotificationEmail === '')
},
},