Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: allow downloading latest version for video documents
Marc Seitza67fc9c049f4
diff --git a/components/documents/document-header.tsx b/components/documents/document-header.tsxindex 497ea360..2011ed27 100644--- a/components/documents/document-header.tsx+++ b/components/documents/document-header.tsx@@ -846,8 +846,7 @@ export default function DocumentHeader({{/* Download latest version */}{primaryVersion.type !== "notion" &&- primaryVersion.type !== "link" &&- primaryVersion.type !== "video" && (+ primaryVersion.type !== "link" && (<DropdownMenuItemonClick={() => downloadDocument(primaryVersion)}>