diff --git a/components/datarooms/add-dataroom-modal.tsx b/components/datarooms/add-dataroom-modal.tsx index 6d140b1f9..51513ed8b 100644 --- a/components/datarooms/add-dataroom-modal.tsx +++ b/components/datarooms/add-dataroom-modal.tsx @@ -83,7 +83,7 @@ export function AddDataroomModal({ const [editingFolderName, setEditingFolderName] = useState(""); const teamInfo = useTeam(); - const { isFree, isPro } = usePlan(); + const { isFree, isPro, isTrial } = usePlan(); const analytics = useAnalytics(); const useTemplate = activeTab === "generate"; @@ -346,8 +346,7 @@ export function AddDataroomModal({ } }; - // If the team is on a free plan, show the upgrade modal - if (isFree || isPro) { + if ((isFree || isPro) && !isTrial) { if (children) { return ( Loading...; @@ -219,7 +219,7 @@ export default function Settings() { - {isBusiness || isDatarooms || isDataroomsPlus ? ( + {isBusiness || isDatarooms || isDataroomsPlus || isTrial ? ( - - + + ) : ( + - Upgrade to Add Data Room - - + + + )} ) : isBusiness || isDatarooms || isDataroomsPlus ? (