mirror of
https://github.com/moparisthebest/mail
synced 2024-11-23 01:12:19 -05:00
only show number of unread items if larger than 0
This commit is contained in:
parent
7a939db5a3
commit
d8176062f5
@ -99,7 +99,7 @@ define(function(require) {
|
||||
return;
|
||||
}
|
||||
// set unread count in folder model
|
||||
getFolder().count = unreadCount;
|
||||
getFolder().count = (unreadCount && unreadCount > 0) ? unreadCount : undefined;
|
||||
$scope.$apply();
|
||||
|
||||
emailDao.imapSync(options, function(err) {
|
||||
|
Loading…
Reference in New Issue
Block a user