diff options
Diffstat (limited to 'web-ui/app')
-rw-r--r-- | web-ui/app/js/mail_list/ui/mail_list.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/mail_list/ui/mail_list.js b/web-ui/app/js/mail_list/ui/mail_list.js index da79f20b..56c5c4f9 100644 --- a/web-ui/app/js/mail_list/ui/mail_list.js +++ b/web-ui/app/js/mail_list/ui/mail_list.js @@ -134,7 +134,7 @@ define( this.checkedMailsForCurrentTag = function () { var checkedMailsForCurrentTag = _.filter(self.attr.checkedMails, function (mail) { - return mail.mailbox === self.attr.currentTag || _.contains(mail.tags, self.attr.currentTag); + return self.attr.currentTag === 'all' || mail.mailbox === self.attr.currentTag || _.contains(mail.tags, self.attr.currentTag); }); return checkedMailsForCurrentTag.length > 0 ? checkedMailsForCurrentTag : {}; |