Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix 2

Marc Seitzc0c742d92177
diff --git a/components/view/viewer/dataroom-viewer.tsx b/components/view/viewer/dataroom-viewer.tsx
index c31db38c..7fc72876 100644
--- a/components/view/viewer/dataroom-viewer.tsx
+++ b/components/view/viewer/dataroom-viewer.tsx
@@ -242,7 +242,7 @@ export default function DataroomViewer({
new Date(folder.updatedAt);
const allDocumentsCanDownload =
- folderDocuments.length > 0 &&
+ folderDocuments.length === 0 || // Allow download for empty folders
folderDocuments.every((doc) => {
const accessControl = accessControls.find(
(access) => access.itemId === doc.dataroomDocumentId,