1
0
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:
Tankred Hase 2013-10-13 01:36:06 +02:00
parent 7a939db5a3
commit d8176062f5

View File

@ -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) {