diff --git a/apps/web/modules/onboarding/components/onboarding-teams-browser-view.tsx b/apps/web/modules/onboarding/components/onboarding-teams-browser-view.tsx
index 38f92e0dfb..f18307873a 100644
--- a/apps/web/modules/onboarding/components/onboarding-teams-browser-view.tsx
+++ b/apps/web/modules/onboarding/components/onboarding-teams-browser-view.tsx
@@ -3,7 +3,7 @@
import { AnimatePresence, motion } from "framer-motion";
import { usePathname } from "next/navigation";
-import { WEBAPP_URL } from "@calcom/lib/constants";
+import { subdomainSuffix } from "@calcom/features/ee/organizations/lib/orgDomains";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { Avatar } from "@calcom/ui/components/avatar";
import { Icon } from "@calcom/ui/components/icon";
@@ -13,6 +13,7 @@ type OnboardingTeamsBrowserViewProps = {
organizationLogo?: string | null;
organizationName?: string;
organizationBanner?: string | null;
+ slug?: string;
};
export const OnboardingTeamsBrowserView = ({
@@ -20,10 +21,11 @@ export const OnboardingTeamsBrowserView = ({
organizationLogo,
organizationName,
organizationBanner,
+ slug,
}: OnboardingTeamsBrowserViewProps) => {
const pathname = usePathname();
const { t } = useLocale();
- const webappUrl = WEBAPP_URL.replace(/^https?:\/\//, "");
+ const displayUrl = slug ? `${slug}.${subdomainSuffix()}` : subdomainSuffix();
// Show placeholder if no teams or all teams are empty
const hasValidTeams = teams.some((team) => team.name && team.name.trim().length > 0);
@@ -54,9 +56,9 @@ export const OnboardingTeamsBrowserView = ({
{webappUrl}/teams
+{displayUrl}/teams