From cfbc04d3a4b619b57d35e6ad31fb091d7f4d7285 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 27 Sep 2022 18:56:28 +0200 Subject: [PATCH] Resolve #534 --- dev/Stores/User/Messagelist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/Stores/User/Messagelist.js b/dev/Stores/User/Messagelist.js index b9d46b3a6..0a7d30c41 100644 --- a/dev/Stores/User/Messagelist.js +++ b/dev/Stores/User/Messagelist.js @@ -102,8 +102,8 @@ addComputablesTo(MessagelistUserStore, { const selectedMessage = MessagelistUserStore.selectedMessage(), focusedMessage = MessagelistUserStore.focusedMessage(), - checked = MessagelistUserStore.filter(item => isChecked(item) || item === selectedMessage); - return checked.length ? checked : (focusedMessage ? [focusedMessage] : []); + checked = MessagelistUserStore.filter(item => isChecked(item)); + return checked.length ? checked : (selectedMessage || focusedMessage ? [selectedMessage || focusedMessage] : []); }, listCheckedOrSelectedUidsWithSubMails: () => {