mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
use Folder.unreadEmails() instead of Folder.unreadCount()
This commit is contained in:
parent
27d119c068
commit
312f1c3b9b
1 changed files with 2 additions and 2 deletions
|
|
@ -470,11 +470,11 @@ export class FolderModel extends AbstractModel {
|
||||||
|
|
||||||
hasSubscribedUnreadMessagesSubfolders: () =>
|
hasSubscribedUnreadMessagesSubfolders: () =>
|
||||||
!!this.subFolders().find(
|
!!this.subFolders().find(
|
||||||
folder => folder.unreadCount() | folder.hasSubscribedUnreadMessagesSubfolders()
|
folder => folder.unreadEmails() | folder.hasSubscribedUnreadMessagesSubfolders()
|
||||||
)
|
)
|
||||||
/*
|
/*
|
||||||
!!this.subFolders().filter(
|
!!this.subFolders().filter(
|
||||||
folder => folder.unreadCount() | folder.hasSubscribedUnreadMessagesSubfolders()
|
folder => folder.unreadEmails() | folder.hasSubscribedUnreadMessagesSubfolders()
|
||||||
).length
|
).length
|
||||||
*/
|
*/
|
||||||
,href: () => this.canBeSelected() && mailBox(this.fullNameHash)
|
,href: () => this.canBeSelected() && mailBox(this.fullNameHash)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue