Skip to content

Commit

Permalink
fix: correctly join usernames (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
idawnlight committed May 12, 2024
1 parent 7b89307 commit 06229cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GZCTF/ClientApp/src/pages/admin/Teams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ const Teams: FC = () => {
</Tooltip>
))}
{members && members.length > 8 && (
<Tooltip label={<Text>{members.slice(8).join(',')}</Text>} withArrow>
<Tooltip label={<Text>{members.slice(8).map(o => o.userName).join(',')}</Text>} withArrow>
<Avatar alt="avatar" radius="xl">
+{members.length - 8}
</Avatar>
Expand Down

0 comments on commit 06229cc

Please sign in to comment.