mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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;
|
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
|
const
|
||||||
unread = folder.unreadEmails(),
|
unread = folder.unreadEmails(),
|
||||||
type = folder.type();
|
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: () => {
|
localName: () => {
|
||||||
let name = folder.name();
|
let name = folder.name();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue