mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
More excessive DOM reductions
This commit is contained in:
parent
74f74163c6
commit
5895804e9a
7 changed files with 17 additions and 59 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ export class MessageCollectionModel extends AbstractCollectionModel
|
|||
if (message) {
|
||||
if (hasNewMessageAndRemoveFromCache(message.folder, message.uid) && 5 >= newCount) {
|
||||
++newCount;
|
||||
message.newForAnimation(true);
|
||||
}
|
||||
|
||||
message.deleted(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue