Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat(links): check if team is on plan
Marc Seitza4ae4a1b4623
diff --git a/components/links/link-sheet/domain-section.tsx b/components/links/link-sheet/domain-section.tsxindex cfc41d09..2623625b 100644--- a/components/links/link-sheet/domain-section.tsx+++ b/components/links/link-sheet/domain-section.tsx@@ -69,8 +69,7 @@ export default function DomainSection({papermark.io</option>{linkType === "DOCUMENT_LINK" &&- limits &&- limits.customDomainOnPro && (+ (plan === "business" || (limits && limits.customDomainOnPro)) && (<>{domains?.map(({ slug }) => (<option key={slug} value={slug}>@@ -80,8 +79,8 @@ export default function DomainSection({</>)}{linkType === "DATAROOM_LINK" &&- limits &&- limits.customDomainInDataroom && (+ (plan === "datarooms" ||+ (limits && limits.customDomainInDataroom)) && (<>{domains?.map(({ slug }) => (<option key={slug} value={slug}>