Skip to content

Commit

Permalink
hide non-playing team in match play
Browse files Browse the repository at this point in the history
  • Loading branch information
Techno11 committed Sep 29, 2024
1 parent be0e658 commit df23dc4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export const AlliancePlay: FC<Props> = ({
}
}
>
{allianceParticipants.map((p) => {
if (!p.team && !teamsRecord[p.teamKey]) return null;
{allianceParticipants.map((p, i) => {
if ((!p.team && !teamsRecord[p.teamKey]) || i > 2) return null;
return (
<AllianceTeam
key={p.station}
Expand Down

0 comments on commit df23dc4

Please sign in to comment.