forked from github/plane
chore: hide bot accounts from the collabortors list (#4482)
This commit is contained in:
parent
0c04c3dc14
commit
f547692fe6
@ -26,7 +26,7 @@ const CollaboratorListItem: React.FC<CollaboratorListItemProps> = observer((prop
|
||||
const userDetails = getUserDetails(userId);
|
||||
const isCurrentUser = userId === currentUser?.id;
|
||||
|
||||
if (!userDetails) return null;
|
||||
if (!userDetails || userDetails.is_bot) return null;
|
||||
|
||||
return (
|
||||
<Link href={`/${workspaceSlug}/profile/${userId}`} className="group text-center">
|
||||
|
Loading…
Reference in New Issue
Block a user