Skip to content

Commit

Permalink
fix(mail(js)): update unseen count when it's zero
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Dec 15, 2021
1 parent 78855be commit 635b8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Mailer/Mailbox.service.js
Expand Up @@ -1089,7 +1089,7 @@
}
}
}
if (data.unseenCount) {
if (angular.isDefined(data.unseenCount)) {
_this.unseenCount = data.unseenCount;
}

Expand Down

0 comments on commit 635b8c6

Please sign in to comment.