mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-09 22:07:12 +00:00
1 parent
e43a721f77
commit
2d25e180f6
1 file changed
+1
-1
@@ -143,7 +143,7 @@
|
||||
Account.$$resource.post('', 'unseenCount', {mailboxes: unseenCountFolders}).then(function(data) {
|
||||
_.forEach(Account.$accounts, function(account) {
|
||||
_.forEach(account.$$flattenMailboxes, function(mailbox) {
|
||||
if (data[mailbox.id]) {
|
||||
if (angular.isDefined(data[mailbox.id])) {
|
||||
mailbox.unseenCount = data[mailbox.id];
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user