Bugfix: "clear folder" was shown in wrong folder

This commit is contained in:
djmaze 2021-08-10 11:42:21 +02:00
parent 4e45b56ea4
commit 48e8138764

View file

@ -663,7 +663,7 @@ export class MessageListMailBoxUserView extends AbstractViewRight {
!this.messageListSearchDesc() &&
!this.messageListError() &&
!this.messageListEndThreadUid() &&
MessageUserStore.list.length &&
MessageUserStore.list().length &&
(this.isSpamFolder() || this.isTrashFolder())
);
}