diff --git a/apps/web/src/components/SideNavigation.tsx b/apps/web/src/components/SideNavigation.tsx index 8dbce57f..503829dc 100644 --- a/apps/web/src/components/SideNavigation.tsx +++ b/apps/web/src/components/SideNavigation.tsx @@ -177,31 +177,33 @@ export default function SideNavigation({ isCollapsed={isCollapsed} onCloseSideNav={onCloseSideNav} /> - {isCloudEnv && !hasActiveSubscription(subscriptions, "pro") && ( -
- {isCollapsed ? ( - } - variant="secondary" - href="/settings/workspace?upgrade=pro" - aria-label="Upgrade to Pro" - title="Upgrade to Pro" - iconOnly - onClick={() => openModal("UPGRADE_TO_PRO")} - /> - ) : ( - } - fullWidth - variant="secondary" - href="/settings/workspace?upgrade=pro" - onClick={() => openModal("UPGRADE_TO_PRO")} - > - {t`Upgrade to Pro`} - - )} -
- )} + {isCloudEnv && + !hasActiveSubscription(subscriptions, "pro") && + !hasActiveSubscription(subscriptions, "team") && ( +
+ {isCollapsed ? ( + } + variant="secondary" + href="/settings/workspace?upgrade=pro" + aria-label="Upgrade to Pro" + title="Upgrade to Pro" + iconOnly + onClick={() => openModal("UPGRADE_TO_PRO")} + /> + ) : ( + } + fullWidth + variant="secondary" + href="/settings/workspace?upgrade=pro" + onClick={() => openModal("UPGRADE_TO_PRO")} + > + {t`Upgrade to Pro`} + + )} +
+ )} diff --git a/apps/web/src/views/members/index.tsx b/apps/web/src/views/members/index.tsx index e568f5db..da1dc000 100644 --- a/apps/web/src/views/members/index.tsx +++ b/apps/web/src/views/members/index.tsx @@ -181,7 +181,7 @@ export default function MembersPage() {
{env("NEXT_PUBLIC_KAN_ENV") === "cloud" && ( <> - {!proSubscription && ( + {!proSubscription && !teamSubscription && ( {env("NEXT_PUBLIC_KAN_ENV") === "cloud" && - !hasActiveSubscription(subscriptions, "pro") && ( + !hasActiveSubscription(subscriptions, "pro") && + !hasActiveSubscription(subscriptions, "team") && (