Skip to content

Commit

Permalink
quick fix [skip pizza]
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed May 17, 2024
1 parent ba93da7 commit 0b2f541
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ export const TeamMembers: React.FC<Props> = ({ teamMembersByRole }) => {
return acc.concat(teamMembersByRole[role]);
}, []);

const activeMembers = otherRoles.filter((member) => member.email);

const archivedMembers = otherRoles.filter(
(member) => member.role !== "platformAdmin" && !member.email,
);
Expand All @@ -134,7 +136,7 @@ export const TeamMembers: React.FC<Props> = ({ teamMembersByRole }) => {
<Typography variant="body1">
Editors have access to edit your services.
</Typography>
<MembersTable members={otherRoles} />
<MembersTable members={activeMembers} />
</EditorRow>
<EditorRow>
<Typography variant="h2" component="h3" gutterBottom>
Expand Down

0 comments on commit 0b2f541

Please sign in to comment.