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
parent
458300bc83
commit
19e830acad
|
@ -60,6 +60,7 @@ export default function TeamList(props: Props) {
|
||||||
<>
|
<>
|
||||||
{props.teams.map(
|
{props.teams.map(
|
||||||
(team, i) =>
|
(team, i) =>
|
||||||
|
team.role !== "MEMBER" &&
|
||||||
i === 0 && (
|
i === 0 && (
|
||||||
<div className="bg-gray-100 p-6">
|
<div className="bg-gray-100 p-6">
|
||||||
<h3 className="mb-4 text-sm font-semibold text-gray-900">{t("recommended_next_steps")}</h3>
|
<h3 className="mb-4 text-sm font-semibold text-gray-900">{t("recommended_next_steps")}</h3>
|
||||||
|
|
Loading…
Reference in New Issue