diff --git a/src/views/CampaignDetail/SideParticipants/index.tsx b/src/views/CampaignDetail/SideParticipants/index.tsx index c953bf2704..5181248209 100644 --- a/src/views/CampaignDetail/SideParticipants/index.tsx +++ b/src/views/CampaignDetail/SideParticipants/index.tsx @@ -85,6 +85,10 @@ const SideParticipants = ({ campaign }: SideParticipantsProps) => { return [] } + if (edges.length <= maxAvatarCount) { + return edges + } + const withAvatars = edges.filter( ({ node }) => node.avatar && node.id !== viewer.id )