mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Reduce JavaScript footprint
This commit is contained in:
parent
689126c57d
commit
b12852bd08
42 changed files with 240 additions and 426 deletions
|
|
@ -120,9 +120,7 @@ export class MessageFlagsCache
|
|||
flags = this.getFor(message.folder, uid),
|
||||
thread = message.threads();
|
||||
|
||||
if (isArray(flags)) {
|
||||
message.flags(flags);
|
||||
}
|
||||
isArray(flags) && message.flags(flags);
|
||||
|
||||
if (thread.length) {
|
||||
message.hasUnseenSubMessage(!!thread.find(iSubUid =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue