Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: hide visitor groups when not set
Marc Seitz7d073304879b
diff --git a/components/links/link-sheet/allow-list-section.tsx b/components/links/link-sheet/allow-list-section.tsxindex 7b7b3033..43937532 100644--- a/components/links/link-sheet/allow-list-section.tsx+++ b/components/links/link-sheet/allow-list-section.tsx@@ -132,7 +132,7 @@ export default function AllowListSection({<LinkItemtitle="Allow specified viewers"link="https://www.papermark.com/help/article/allow-list"- tooltipContent="Restrict access to a selected group of viewers. Enter allowed emails or domains, or select visitor groups."+ tooltipContent={`Restrict access to a selected group of viewers. Enter allowed emails or domains${visitorGroups && visitorGroups.length > 0 ? ", or select visitor groups" : ""}.`}enabled={enabled}isAllowed={isAllowed}action={handleEnableAllowList}