More excessive DOM reductions

This commit is contained in:
djmaze 2021-08-12 14:44:38 +02:00
parent 74f74163c6
commit 5895804e9a
7 changed files with 17 additions and 59 deletions

View file

@ -54,8 +54,6 @@ export class MessageModel extends AbstractModel {
senderEmailsString: '',
senderClearEmailsString: '',
newForAnimation: false,
deleted: false,
isDeleted: false,
isUnseen: false,
@ -128,8 +126,6 @@ export class MessageModel extends AbstractModel {
this.senderEmailsString('');
this.senderClearEmailsString('');
this.newForAnimation(false);
this.deleted(false);
this.isDeleted(false);
this.isUnseen(false);
@ -289,7 +285,6 @@ export class MessageModel extends AbstractModel {
focused: this.focused(),
important: this.isImportant(),
withAttachments: this.hasAttachments(),
new: this.newForAnimation(),
emptySubject: !this.subject(),
// hasChildrenMessage: 1 < this.threadsLen(),
hasUnseenSubMessage: this.hasUnseenSubMessage(),