mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Update alliance selection error message when picking a team who didn't play any qualification matches.
This commit is contained in:
@@ -76,7 +76,13 @@ func (web *Web) allianceSelectionPostHandler(w http.ResponseWriter, r *http.Requ
|
||||
}
|
||||
}
|
||||
if !found {
|
||||
web.renderAllianceSelection(w, r, fmt.Sprintf("Team %d is not present at this event.", teamId))
|
||||
web.renderAllianceSelection(
|
||||
w,
|
||||
r,
|
||||
fmt.Sprintf(
|
||||
"Team %d has not played any matches at this event and is ineligible for selection.", teamId,
|
||||
),
|
||||
)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user