Speedup listChecked().length to hasChecked()

This commit is contained in:
the-djmaze 2022-09-09 10:02:40 +02:00
parent 7ec3d70c60
commit 47a861a243
8 changed files with 28 additions and 20 deletions

View file

@ -111,7 +111,7 @@ export class MailMessageView extends AbstractViewRight {
const attachmentsActions = Settings.app('attachmentsActions');
this.attachmentsActions = ko.observableArray(arrayLength(attachmentsActions) ? attachmentsActions : []);
this.hasCheckedMessages = MessagelistUserStore.hasCheckedMessages;
this.hasCheckedMessages = MessagelistUserStore.hasChecked;
this.archiveAllowed = MessagelistUserStore.archiveAllowed;
this.canMarkAsSpam = MessagelistUserStore.canMarkAsSpam;
this.isDraftFolder = MessagelistUserStore.isDraftFolder;