mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
listCheckedOrSelectedUidsWithSubMails() now returns Set instead of Array
This commit is contained in:
parent
55faeaa1d1
commit
0fce269a82
7 changed files with 33 additions and 39 deletions
|
|
@ -384,12 +384,9 @@ export class MailMessageList extends AbstractViewRight {
|
|||
const item = ko.dataFor(doc.elementFromPoint(event.clientX, event.clientY));
|
||||
item?.checked?.(true);
|
||||
const uids = MessagelistUserStore.listCheckedOrSelectedUidsWithSubMails();
|
||||
item && !uids.includes(item.uid) && uids.push(item.uid);
|
||||
return uids.length ? {
|
||||
copy: event.ctrlKey,
|
||||
folder: FolderUserStore.currentFolderFullName(),
|
||||
uids: uids
|
||||
} : null;
|
||||
uids.copy = event.ctrlKey; // dropEffect
|
||||
uids.folder = FolderUserStore.currentFolderFullName();
|
||||
return uids;
|
||||
}
|
||||
|
||||
listSetSeen() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue