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>
pull/8030/head^2
GitStart-Cal.com 2023-04-02 10:03:28 +00:00 committed by GitHub
parent 458300bc83
commit 19e830acad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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>