Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: folder / file a href
Marc Seitz4430314cac5d
diff --git a/components/upload-notification.tsx b/components/upload-notification.tsxindex c6bd3d68..b14d3b3b 100644--- a/components/upload-notification.tsx+++ b/components/upload-notification.tsx@@ -80,18 +80,25 @@ const ItemRow = memo(if (done) {if (hovered) {- return (+ const icon =+ item.type === "folder" ? (+ <FolderIcon className="h-4 w-4 text-foreground" />+ ) : (+ <FileIcon className="h-4 w-4 text-foreground" />+ );++ return item.folderHref ? (<ahref={item.folderHref}className="flex h-5 w-5 items-center justify-center"title={`Open ${item.name}`}>- {item.type === "folder" ? (- <FolderIcon className="h-4 w-4 text-foreground" />- ) : (- <FileIcon className="h-4 w-4 text-foreground" />- )}+ {icon}</a>+ ) : (+ <span className="flex h-5 w-5 items-center justify-center">+ {icon}+ </span>);}return (