Skip to content

Commit

Permalink
feat(infobox): Show participant count in individual tournament infobo…
Browse files Browse the repository at this point in the history
…xes on RL (#5135)

RL: Show participant count in individual tournament infoboxes
  • Loading branch information
robbai authored Nov 27, 2024
1 parent d2518ef commit 5533263
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ function CustomInjector:parse(id, widgets)
name = 'Number of teams',
content = {args.team_number}
})
elseif not String.isEmpty(args.player_number) then
table.insert(widgets, Title{children = 'Players'})
table.insert(widgets, Cell{
name = 'Number of players',
content = {args.player_number}
})
end
end
return widgets
Expand Down

0 comments on commit 5533263

Please sign in to comment.