Finally drop the FolderModel.hidden() because FolderModel.visible() works better

This commit is contained in:
the-djmaze 2022-10-07 13:04:51 +02:00
parent f56102dd88
commit a219509bd7
4 changed files with 4 additions and 10 deletions

View file

@ -393,8 +393,6 @@ export class FolderModel extends AbstractModel {
return folder.hasVisibleSubfolders() | visible;
},
hidden: () => !folder.selectable() && (folder.isSystemFolder() | !folder.hasVisibleSubfolders()),
printableUnreadCount: () => {
const count = folder.totalEmails(),
unread = folder.unreadEmails(),