diff --git a/apps/web/components/team/TeamListItem.tsx b/apps/web/components/team/TeamListItem.tsx index 24a107c2b8..dfd6e0d57d 100644 --- a/apps/web/components/team/TeamListItem.tsx +++ b/apps/web/components/team/TeamListItem.tsx @@ -7,6 +7,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale"; import { inferQueryOutput, trpc } from "@calcom/trpc/react"; import { Icon } from "@calcom/ui/Icon"; import Button from "@calcom/ui/v2/core/Button"; +import ButtonGroup from "@calcom/ui/v2/core/ButtonGroup"; import ConfirmationDialogContent from "@calcom/ui/v2/core/ConfirmationDialogContent"; import { Dialog, DialogTrigger } from "@calcom/ui/v2/core/Dialog"; import Dropdown, { @@ -14,6 +15,7 @@ import Dropdown, { DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, + DropdownItem, } from "@calcom/ui/v2/core/Dropdown"; import { Tooltip } from "@calcom/ui/v2/core/Tooltip"; import showToast from "@calcom/ui/v2/core/notifications"; @@ -135,108 +137,103 @@ export default function TeamListItem(props: Props) { {!isInvitee && (
- - - - - - - - - + + {t("preview_team") as string} + - )} - - - - - - - - - {isOwner && ( - - - - - - { - props.onActionSelect("disband"); - }}> - {t("disband_team_confirmation_message")} - - - - )} - - {!isOwner && ( - - - - + + { + props.onActionSelect("disband"); }}> - {t("leave_team")} - - - - {t("leave_team_confirmation_message")} - - - - )} - - + {t("disband_team_confirmation_message")} + + + + )} + + {!isOwner && ( + + + + + + + {t("leave_team_confirmation_message")} + + + + )} + + +
)} diff --git a/packages/features/ee/teams/components/MemberInvitationModal.tsx b/packages/features/ee/teams/components/MemberInvitationModal.tsx index 26096e5bdb..869cec284c 100644 --- a/packages/features/ee/teams/components/MemberInvitationModal.tsx +++ b/packages/features/ee/teams/components/MemberInvitationModal.tsx @@ -73,10 +73,7 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps) description={ Note: This will cost an extra seat ($12/m) on - your subscription if this invitee does not have a pro account.{" "} - - Learn More - + your subscription if this invitee does not have a TEAM account. }>