CALCOM-7983 - [CAL-1359] /teams: Members should not see "Next steps" since they can't take any (#8029)
Co-authored-by: gitstart-calcom <[email protected]>
This commit is contained in:
1 parent
458300bc83
commit
19e830acad
1 file changed
+1
@@ -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>
|
||||||
|
|||||||
Reference in new issue
Block a user