mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
fix(web): resolve practice/qualifying partial session bug by flagging starting_grid as N/A
This commit is contained in:
@@ -166,6 +166,8 @@ func (s *Service) GetRaceHub(sessionKey int) (RaceHub, error) {
|
||||
}
|
||||
hub.StartingGrid = enriched
|
||||
hub.Datasets["starting_grid"] = availableLocal(len(enriched))
|
||||
} else if !isGridExpected(sessionModel.SessionType, sessionModel.SessionName) {
|
||||
hub.Datasets["starting_grid"] = skippedNA()
|
||||
}
|
||||
|
||||
stints, err := s.store.ListStints(sessionKey)
|
||||
|
||||
Reference in New Issue
Block a user