mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-12-05 14:44:41 -05:00
Add race control visuals and driver names in laps view
This commit is contained in:
1 parent
3eb74a9083
commit
a2aa772838
21 files changed
+458
-118
No files matched your search
@@ -272,6 +272,13 @@ func (m AppModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
m.calendar.loading = true
|
||||
m.standings.year = m.year
|
||||
m.standings.loading = true
|
||||
m.standings.err = nil
|
||||
m.standings.stale = false
|
||||
m.standings.driverStandings = nil
|
||||
m.standings.teamStandings = nil
|
||||
m.standings.drivers = make(map[int]models.Driver)
|
||||
m.standings.cursor = 0
|
||||
m.standings.scroll = 0
|
||||
|
||||
return m, tea.Batch(
|
||||
m.calendar.Init(),
|
||||
|
||||
Reference in new issue
Block a user