Merge pull request #31413 from nextcloud/backport/31347/stable22

This commit is contained in:
John Molakvoæ 2022-03-04 09:17:41 +01:00 committed by GitHub
commit bbb19b675a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 === '')
},
},