fix: team settings label (#22684)

This commit is contained in:
Kartik Saini authored and GitHub committed 2025-07-23 21:28:05 +05:30
1 parent 098b520129
commit c88ed8cae7
2 files changed
+3 -1

No files matched your search

@@ -36,6 +36,7 @@ const DisableTeamImpersonation = ({
<SettingsToggle
toggleSwitchAtTheEnd={true}
title={t("user_impersonation_heading")}
labelClassName="text-sm"
disabled={disabled || mutation?.isPending}
description={t("team_impersonation_description")}
checked={allowImpersonation}
@@ -2,8 +2,8 @@ import { useState } from "react";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { trpc } from "@calcom/trpc/react";
import { showToast } from "@calcom/ui/components/toast";
import { SettingsToggle } from "@calcom/ui/components/form";
import { showToast } from "@calcom/ui/components/toast";
const MakeTeamPrivateSwitch = ({
teamId,
@@ -37,6 +37,7 @@ const MakeTeamPrivateSwitch = ({
<SettingsToggle
toggleSwitchAtTheEnd={true}
title={t(isOrg ? "make_org_private" : "make_team_private")}
labelClassName="text-sm"
disabled={disabled || mutation?.isPending}
description={t(isOrg ? "make_org_private_description" : "make_team_private_description")}
checked={isTeamPrivate}