mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 19:02:20 -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;
|
return;
|
||||||
}
|
}
|
||||||
// set unread count in folder model
|
// set unread count in folder model
|
||||||
getFolder().count = unreadCount;
|
getFolder().count = (unreadCount && unreadCount > 0) ? unreadCount : undefined;
|
||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
|
|
||||||
emailDao.imapSync(options, function(err) {
|
emailDao.imapSync(options, function(err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user