This commit is contained in:
the-djmaze 2023-04-04 11:57:52 +02:00
parent 944a2cb8dc
commit 87313d0616
3 changed files with 3 additions and 2 deletions

View file

@ -127,7 +127,7 @@ export class MessageModel extends AbstractModel {
addComputablesTo(this, {
attachmentIconClass: () =>
this.encrypted() ? 'icon-lock' : FileInfo.getAttachmentsIconClass(this.attachments()),
threadsLen: () => this.threads().length,
threadsLen: () => rl.app.messageList.threadUid() ? 0 : this.threads().length,
isUnseen: () => !this.flags().includes('\\seen'),
isFlagged: () => this.flags().includes('\\flagged'),