Skip to content

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

Merge pull request #95 from vndpal/feat/download-file-option

Marc Seitz52cbd450897c
diff --cc components/links/links-table.tsx
index 2fafc912,753657f7..3d85b88a
--- a/components/links/links-table.tsx
+++ b/components/links/links-table.tsx
@@@ -58,11 -58,9 +58,12 @@@ export default function LinksTable()
expiresAt: link.expiresAt,
password: link.password,
emailProtected: link.emailProtected,
+ allowDownload: link.allowDownload ? link.allowDownload : false,
});
- setIsLinkSheetVisible(true);
+ //wait for dropdown to close before opening the link sheet
+ setTimeout(() => {
+ setIsLinkSheetVisible(true);
+ }, 0);
};
const handleArchiveLink = async (