Skip to content

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

Merge pull request #497 from mfts/fix/dr-navigation

Marc Seitzfa82afdc249e
diff --cc components/view/DataroomViewer.tsx
index d6ef46ee,950a57cd..da882741
--- a/components/view/DataroomViewer.tsx
+++ b/components/view/DataroomViewer.tsx
@@@ -99,15 -112,14 +116,20 @@@ export default function DataroomViewer(
removeQueryParams();
}, []); // Run once on mount
+ const breadcrumbFolders = useMemo(
+ () => getParentFolders(folderId, folders),
+ [folderId, folders],
+ );
+
return (
<>
- <DataroomNav brand={brand} viewId={viewId} dataroom={dataroom} />
+ <DataroomNav
+ brand={brand}
+ linkId={linkId}
+ viewId={viewId}
+ dataroom={dataroom}
+ allowDownload={allowDownload}
+ />
<div
style={{ height: "calc(100vh - 64px)" }}
className="relative flex items-center bg-white dark:bg-black"