fix(web): resolve practice/qualifying partial session bug by flagging starting_grid as N/A

This commit is contained in:
2026-05-25 14:33:14 -04:00
parent 937674f808
commit e060bcba24
9 changed files with 43 additions and 9 deletions

View File

@@ -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)