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 a7276d2076..fc33faff38 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Team/TeamMembers.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Team/TeamMembers.tsx @@ -36,6 +36,7 @@ export type TeamMember = Omit & { const roleLabels: Record = { platformAdmin: "Admin", teamEditor: "Editor", + teamViewer: "Viewer", }; interface Props { @@ -130,7 +131,7 @@ export const TeamMembers: React.FC = ({ teamMembersByRole }) => { Team editors - Editors have access to edit your flows and services. + Editors have access to edit your services. {renderMemberTable(otherRoles)} @@ -143,15 +144,18 @@ export const TeamMembers: React.FC = ({ teamMembersByRole }) => { {renderMemberTable(platformAdmins)} - - - Archived team editors - - - Past members who no longer have access to edit your team. - - {renderMemberTable(archivedMembers)} - + {archivedMembers.length > 0 && ( + + + Archived team editors + + + Past team members who no longer have access to the Editor, but may + be part of the edit history of your services. + + {renderMemberTable(archivedMembers)} + + )} );