This commit is contained in:
the-djmaze 2022-09-27 18:56:28 +02:00
parent b047f6ca9a
commit cfbc04d3a4

View file

@ -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: () => {