From 0b2f541e689171c1951aa2660274100fe18a345a Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Fri, 17 May 2024 14:07:33 +0200 Subject: [PATCH] quick fix [skip pizza] --- .../src/pages/FlowEditor/components/Team/TeamMembers.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Team/TeamMembers.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Team/TeamMembers.tsx index 0892f9f63a..f1fe300a82 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Team/TeamMembers.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Team/TeamMembers.tsx @@ -120,6 +120,8 @@ export const TeamMembers: React.FC = ({ teamMembersByRole }) => { return acc.concat(teamMembersByRole[role]); }, []); + const activeMembers = otherRoles.filter((member) => member.email); + const archivedMembers = otherRoles.filter( (member) => member.role !== "platformAdmin" && !member.email, ); @@ -134,7 +136,7 @@ export const TeamMembers: React.FC = ({ teamMembersByRole }) => { Editors have access to edit your services. - +