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 const
selectedMessage = MessagelistUserStore.selectedMessage(), selectedMessage = MessagelistUserStore.selectedMessage(),
focusedMessage = MessagelistUserStore.focusedMessage(), focusedMessage = MessagelistUserStore.focusedMessage(),
checked = MessagelistUserStore.filter(item => isChecked(item) || item === selectedMessage); checked = MessagelistUserStore.filter(item => isChecked(item));
return checked.length ? checked : (focusedMessage ? [focusedMessage] : []); return checked.length ? checked : (selectedMessage || focusedMessage ? [selectedMessage || focusedMessage] : []);
}, },
listCheckedOrSelectedUidsWithSubMails: () => { listCheckedOrSelectedUidsWithSubMails: () => {