mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
fix: unseen indicator is not shown in thread view when 'listGrouped' settings is false + show unseen message count when the message list is threaded
This commit is contained in:
parent
1b7e144a6e
commit
8ab3055223
3 changed files with 23 additions and 8 deletions
|
|
@ -128,6 +128,11 @@ export class MessageModel extends AbstractModel {
|
|||
threadsLen: () => rl.app.messageList.threadUid() ? 0 : this.threads().length,
|
||||
threadUnseenLen: () => rl.app.messageList.threadUid() ? 0 : this.threadUnseen().length,
|
||||
|
||||
threadsLenText: () => {
|
||||
const unseenLen = this.threadUnseenLen();
|
||||
return this.threadsLen() + (unseenLen > 0 ? '/' + unseenLen : '');
|
||||
},
|
||||
|
||||
isUnseen: () => !this.flags().includes('\\seen'),
|
||||
isFlagged: () => this.flags().includes('\\flagged'),
|
||||
// isJunk: () => this.flags().includes('$junk') && !this.flags().includes('$nonjunk'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue