From f547692fe68805c49b82c1b973f9de536df10c7c Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Thu, 16 May 2024 23:59:28 +0530 Subject: [PATCH] chore: hide bot accounts from the collabortors list (#4482) --- .../widgets/recent-collaborators/collaborators-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/dashboard/widgets/recent-collaborators/collaborators-list.tsx b/web/components/dashboard/widgets/recent-collaborators/collaborators-list.tsx index 270cd8b77..bf91d4abc 100644 --- a/web/components/dashboard/widgets/recent-collaborators/collaborators-list.tsx +++ b/web/components/dashboard/widgets/recent-collaborators/collaborators-list.tsx @@ -26,7 +26,7 @@ const CollaboratorListItem: React.FC = observer((prop const userDetails = getUserDetails(userId); const isCurrentUser = userId === currentUser?.id; - if (!userDetails) return null; + if (!userDetails || userDetails.is_bot) return null; return (