Skip to content

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

fix: link options on business and datarooms

Marc Seitz3b32bfa1281e
diff --git a/components/links/link-sheet/link-options.tsx b/components/links/link-sheet/link-options.tsx
index 75fd6b94..e42b3da6 100644
--- a/components/links/link-sheet/link-options.tsx
+++ b/components/links/link-sheet/link-options.tsx
@@ -90,13 +90,13 @@ export const LinkOptions = ({
<PasswordSection {...{ data, setData }} />
<ScreenshotProtectionSection
{...{ data, setData }}
- hasFreePlan={isNotBusiness || isNotDatarooms}
+ hasFreePlan={isNotBusiness && isNotDatarooms}
handleUpgradeStateChange={handleUpgradeStateChange}
/>
<FeedbackSection {...{ data, setData }} />
<QuestionSection
{...{ data, setData }}
- hasFreePlan={isNotBusiness || isNotDatarooms}
+ hasFreePlan={isNotBusiness && isNotDatarooms}
handleUpgradeStateChange={handleUpgradeStateChange}
/>
</AccordionContent>