Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: add indicator that dataroom is limited
Marc Seitz8c1325276dfc
diff --git a/components/links/links-table.tsx b/components/links/links-table.tsxindex c8e256cd..2902fd69 100644--- a/components/links/links-table.tsx+++ b/components/links/links-table.tsx@@ -625,6 +625,12 @@ export default function LinksTable({<EyeIcon className="text-gray-400 group-hover:text-gray-500" /></Button></ButtonTooltip>+ {targetType === "DATAROOM" &&+ link.permissionGroupId && (+ <ButtonTooltip content="Limited File Access">+ <FileSlidersIcon className="text-gray-400 group-hover:text-gray-500" />+ </ButtonTooltip>+ )}{isMobile ? (<ButtonTooltip content="Edit link"><Buttondiff --git a/ee/features/permissions/components/dataroom-link-sheet.tsx b/ee/features/permissions/components/dataroom-link-sheet.tsxindex 9eb1c6b6..6d475245 100644--- a/ee/features/permissions/components/dataroom-link-sheet.tsx+++ b/ee/features/permissions/components/dataroom-link-sheet.tsx@@ -20,7 +20,7 @@ import { usePlan } from "@/lib/swr/use-billing";import useDataroomGroups from "@/lib/swr/use-dataroom-groups";import { useDomains } from "@/lib/swr/use-domains";import useLimits from "@/lib/swr/use-limits";-import { LinkWithViews, WatermarkConfig } from "@/lib/types";+import { LinkWithViews } from "@/lib/types";import { convertDataUrlToFile, fetcher, uploadImage } from "@/lib/utils";import {