From febc4d95758f9ee039837aa65412c5245f8915de Mon Sep 17 00:00:00 2001 From: Simon Schulze Date: Sat, 28 Sep 2024 15:35:48 +0200 Subject: [PATCH 1/2] fix inconsistent order on Race-by-race standings --- .../Components/Standings/DisplayStanding.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iRLeagueManager.Web/Components/Standings/DisplayStanding.razor b/src/iRLeagueManager.Web/Components/Standings/DisplayStanding.razor index b8e8378..f36798c 100644 --- a/src/iRLeagueManager.Web/Components/Standings/DisplayStanding.razor +++ b/src/iRLeagueManager.Web/Components/Standings/DisplayStanding.razor @@ -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(); From b44c2f80a00793703315a18c414d8cdc3f4388e7 Mon Sep 17 00:00:00 2001 From: Simon Schulze Date: Sat, 28 Sep 2024 15:36:39 +0200 Subject: [PATCH 2/2] bump version to 0.12.3 --- src/iRLeagueManager.Web/iRLeagueManager.Web.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iRLeagueManager.Web/iRLeagueManager.Web.csproj b/src/iRLeagueManager.Web/iRLeagueManager.Web.csproj index d2012d5..7791cde 100644 --- a/src/iRLeagueManager.Web/iRLeagueManager.Web.csproj +++ b/src/iRLeagueManager.Web/iRLeagueManager.Web.csproj @@ -2,7 +2,7 @@ net7.0 - 0.12.2 + 0.12.3 enable enable aspnet-iRLeagueManager.Web-2B05F9DC-55A3-49D1-BD64-31507000EDF3