Skip to content

Scheduling infrastructure for absolutely everyone.

CALCOM-7983 - [CAL-1359] /teams: Members should not see "Next steps" since they can't take any (#8029)

GitStart-Cal.com19e830acadee
diff --git a/packages/features/ee/teams/components/TeamList.tsx b/packages/features/ee/teams/components/TeamList.tsx
index a096b6c2a13..9993ee49dc1 100644
--- a/packages/features/ee/teams/components/TeamList.tsx
+++ b/packages/features/ee/teams/components/TeamList.tsx
@@ -60,6 +60,7 @@ export default function TeamList(props: Props) {
<>
{props.teams.map(
(team, i) =>
+ team.role !== "MEMBER" &&
i === 0 && (
<div className="bg-gray-100 p-6">
<h3 className="mb-4 text-sm font-semibold text-gray-900">{t("recommended_next_steps")}</h3>