mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 17:13:38 +08:00
Resolve #567 by removing change of 457
This commit is contained in:
parent
79387262e3
commit
50ddca2e42
1 changed files with 8 additions and 3 deletions
|
@ -374,13 +374,18 @@ export class FolderModel extends AbstractModel {
|
|||
return folder.hasVisibleSubfolders() | visible;
|
||||
},
|
||||
|
||||
printableUnreadCount: () => {
|
||||
printableUnreadCount: () => folder.unreadEmails() || null,
|
||||
/*
|
||||
{
|
||||
// TODO: make this optional in Settings
|
||||
// https://github.com/the-djmaze/snappymail/issues/457
|
||||
// https://github.com/the-djmaze/snappymail/issues/567
|
||||
const
|
||||
unread = folder.unreadEmails(),
|
||||
type = folder.type();
|
||||
// TODO: make isSystemFolder() optional in Settings
|
||||
return ((!folder.isSystemFolder() || type == FolderType.Inbox) && unread) ? unread : null;
|
||||
// return ((!folder.isSystemFolder() || type == FolderType.Inbox) && unread) ? unread : null;
|
||||
},
|
||||
*/
|
||||
|
||||
localName: () => {
|
||||
let name = folder.name();
|
||||
|
|
Loading…
Reference in a new issue