From ddae745669a5e93ec53931c3355e2e88e2c2885a Mon Sep 17 00:00:00 2001 From: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Date: Thu, 25 Jan 2024 19:50:34 +0530 Subject: [PATCH] fix exception in member list (#3479) --- web/components/project/member-list.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/components/project/member-list.tsx b/web/components/project/member-list.tsx index cb361d141..899348dd2 100644 --- a/web/components/project/member-list.tsx +++ b/web/components/project/member-list.tsx @@ -23,6 +23,8 @@ export const ProjectMemberList: React.FC = observer(() => { const searchedMembers = (projectMemberIds ?? []).filter((userId) => { const memberDetails = getProjectMemberDetails(userId); + if (!memberDetails?.member) return false; + const fullName = `${memberDetails?.member.first_name} ${memberDetails?.member.last_name}`.toLowerCase(); const displayName = memberDetails?.member.display_name.toLowerCase();