Skip to content

Commit

Permalink
[FIX] Add filter on team members
Browse files Browse the repository at this point in the history
  • Loading branch information
GedeonTS committed Apr 26, 2024
1 parent 95543de commit 1edf45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/lib/features/team-members.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function TeamMembers({ publicTeam = false, kanbanView: view = IssuesView.
const fullWidth = useRecoilValue(fullWidthState);
const { activeTeam } = useOrganizationTeams();
const { teamsFetching } = useOrganizationTeams();
const members = activeTeam?.members || [];
const members = (activeTeam?.members || []).filter(member => member.employee !== null);
const orderedMembers = [...members].sort((a, b) => (sortByWorkStatus(a, b) ? -1 : 1));

const blockViewMembers =
Expand Down

0 comments on commit 1edf45b

Please sign in to comment.