diff --git a/frontend/src/components/contacts/ContactFolderTree.tsx b/frontend/src/components/contacts/ContactFolderTree.tsx index 2fde11c..3d23ffe 100644 --- a/frontend/src/components/contacts/ContactFolderTree.tsx +++ b/frontend/src/components/contacts/ContactFolderTree.tsx @@ -153,6 +153,11 @@ function FolderTreeItem({ return (
{ + e.dataTransfer.setData('text/folder-id', node.id); + e.dataTransfer.effectAllowed = 'move'; + }} onDragOver={(e) => onDragOver(e, node.id)} onDragLeave={() => onDragLeave(node.id)} onDrop={(e) => onDrop(e, node.id)} @@ -179,6 +184,8 @@ function FolderTreeItem({ )}