You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
This commit is contained in:
@ -10,7 +10,7 @@ export default async (noteIds: string[], folderIds: string[], targetFolderId: st
|
||||
|
||||
if (!targetFolder) throw new Error(`No such folder: ${targetFolderId}`);
|
||||
|
||||
const defaultDeleteOptions: DeleteOptions = { toTrash: true };
|
||||
const defaultDeleteOptions: DeleteOptions = { toTrash: true, sourceDescription: 'onFolderDrop' };
|
||||
|
||||
if (targetFolder.id !== getTrashFolderId()) {
|
||||
defaultDeleteOptions.toTrashParentId = targetFolder.id;
|
||||
|
Reference in New Issue
Block a user