Skip to content
Snippets Groups Projects
Commit 8c336a1f authored by Alexander Weidinger's avatar Alexander Weidinger
Browse files

Fix folder unread counter undefined bug.

parent 875b3e62
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ define(function(require) {
activeEmail = ' - ' + activeAccount.get('email');
}
var activeFolder = this.getFolderById();
var unread = activeFolder.unseen;
var unread = activeFolder.unseen || activeFolder.get('unseen');
var name = activeFolder.name || activeFolder.get('name');
if (unread > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment