forked from github/plane
fix exception in member list (#3479)
This commit is contained in:
parent
e78c1f2060
commit
ddae745669
@ -23,6 +23,8 @@ export const ProjectMemberList: React.FC = observer(() => {
|
|||||||
const searchedMembers = (projectMemberIds ?? []).filter((userId) => {
|
const searchedMembers = (projectMemberIds ?? []).filter((userId) => {
|
||||||
const memberDetails = getProjectMemberDetails(userId);
|
const memberDetails = getProjectMemberDetails(userId);
|
||||||
|
|
||||||
|
if (!memberDetails?.member) return false;
|
||||||
|
|
||||||
const fullName = `${memberDetails?.member.first_name} ${memberDetails?.member.last_name}`.toLowerCase();
|
const fullName = `${memberDetails?.member.first_name} ${memberDetails?.member.last_name}`.toLowerCase();
|
||||||
const displayName = memberDetails?.member.display_name.toLowerCase();
|
const displayName = memberDetails?.member.display_name.toLowerCase();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user