Skip to content

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

fix: download excel file

Marc Seitz784a73e9625b
diff --git a/components/view/view-data.tsx b/components/view/view-data.tsx
index 410845cb..09764849 100644
--- a/components/view/view-data.tsx
+++ b/components/view/view-data.tsx
@@ -62,6 +62,7 @@ export default function ViewData({
versionNumber={document.versions[0].versionNumber}
sheetData={viewData.sheetData}
brand={brand}
+ allowDownload={link.allowDownload!}
/>
) : viewData.fileType === "sheet" && useAdvancedExcelViewer ? (
<AdvancedExcelViewer