mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
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 userDetails = getUserDetails(userId);
|
||||||
const isCurrentUser = userId === currentUser?.id;
|
const isCurrentUser = userId === currentUser?.id;
|
||||||
|
|
||||||
if (!userDetails) return null;
|
if (!userDetails || userDetails.is_bot) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link href={`/${workspaceSlug}/profile/${userId}`} className="group text-center">
|
<Link href={`/${workspaceSlug}/profile/${userId}`} className="group text-center">
|
||||||
|
Loading…
Reference in New Issue
Block a user