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

Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
This commit is contained in:
GitStart-Cal.com
2023-04-02 12:03:28 +02:00
committed by GitHub
co-authored by gitstart-calcom
parent 458300bc83
commit 19e830acad
@@ -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>