mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Expose Matchup isComplete method in preparation for incorporating into bracket graphic
This commit is contained in:
committed by
Patrick Fairbank
parent
0aa69340f0
commit
0eefc3ba40
@@ -46,6 +46,7 @@ type allianceMatchup struct {
|
||||
IsActive bool
|
||||
SeriesLeader string
|
||||
SeriesStatus string
|
||||
IsComplete bool
|
||||
}
|
||||
|
||||
// Generates a JSON dump of the matches and results.
|
||||
@@ -250,6 +251,7 @@ func (web *Web) generateBracketSvg(w io.Writer) error {
|
||||
DisplayName: matchup.LongDisplayName(),
|
||||
RedAllianceSource: matchup.RedAllianceSourceDisplayName(),
|
||||
BlueAllianceSource: matchup.BlueAllianceSourceDisplayName(),
|
||||
IsComplete: matchup.IsComplete(),
|
||||
}
|
||||
if matchup.RedAllianceId > 0 {
|
||||
if len(alliances) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user