diff --git a/app/components/Sidebar/components/CollectionLink.tsx b/app/components/Sidebar/components/CollectionLink.tsx index c082ec1cf..ce8b8d27b 100644 --- a/app/components/Sidebar/components/CollectionLink.tsx +++ b/app/components/Sidebar/components/CollectionLink.tsx @@ -81,7 +81,12 @@ function CollectionLink({ const { id, collectionId } = item; if (monitor.didDrop()) return; if (!collection) return; - if (collection.id === collectionId) return; + + const document = documents.get(id); + if (collection.id === collectionId && !document?.parentDocumentId) { + return; + } + const prevCollection = collections.get(collectionId); if (