Skip to content

Commit

Permalink
fix inconsistent order on Race-by-race standings
Browse files Browse the repository at this point in the history
  • Loading branch information
SSchulze1989 committed Sep 28, 2024
1 parent e7f8288 commit febc4d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
.NotNull()
.Select(x => x.EventId)
.Distinct();
var events = eventIds
.Select(eventId => EventList.EventList.FirstOrDefault(e => e.EventId == eventId))
var events = EventList.EventList
.Where(x => eventIds.Contains(x.EventId))
.NotNull()
.Select(x => x.GetModel())
.ToList();
Expand Down

0 comments on commit febc4d9

Please sign in to comment.