Bugfix: message threaded mode was broken (knockout computable requires call to observable)

This commit is contained in:
djmaze 2021-03-08 15:21:54 +01:00
parent dade7756f8
commit e2d6528bf5
2 changed files with 4 additions and 5 deletions

View file

@ -86,7 +86,7 @@ export class MessageModel extends AbstractModel {
this.addComputables({
attachmentIconClass: () => FileInfo.getCombinedIconClass(this.hasAttachments() ? this.attachmentsSpecData() : []),
threadsLen: () => this.threads.length,
threadsLen: () => this.threads().length,
isImportant: () => MessagePriority.High === this.priority(),
});
}