Skip to content

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

fix: add viewerEmail to image viewer

Marc Seitzfc3fafc434ec
diff --git a/components/view/dataroom/dataroom-view.tsx b/components/view/dataroom/dataroom-view.tsx
index a68f9f23..3936fd6c 100644
--- a/components/view/dataroom/dataroom-view.tsx
+++ b/components/view/dataroom/dataroom-view.tsx
@@ -391,6 +391,7 @@ export default function DataroomView({
brand={brand}
dataroomId={dataroom.id}
setDocumentData={setDocumentData}
+ viewerEmail={data.email ?? verifiedEmail ?? userEmail ?? undefined}
watermarkConfig={
link.enableWatermark
? (link.watermarkConfig as WatermarkConfig)