Skip to content

Commit

Permalink
Merge pull request #2429 from ever-co/fix/filter-team-members
Browse files Browse the repository at this point in the history
[FIX] Add filter on team members
  • Loading branch information
evereq authored Apr 27, 2024
2 parents 51af353 + 1edf45b commit f7240d8
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 f7240d8

Please sign in to comment.