@{
- if (Model.CompletedMatches.Any(m => m.RoundId == r.RoundId && m.IsOverruled))
+ if (Model.CompletedMatches.Exists(m => m.RoundId == r.RoundId && m.IsOverruled))
{
@(overruled) = @Localizer["Awarded points were adjusted manually"].
diff --git a/League/Views/Ranking/Table.cshtml b/League/Views/Ranking/Table.cshtml
index 3663fc28..3d55a7d0 100644
--- a/League/Views/Ranking/Table.cshtml
+++ b/League/Views/Ranking/Table.cshtml
@@ -26,7 +26,7 @@
.GroupBy(m => m.RoundName, (key, m) => new { RoundName = key, RoundId = m.First()
.RoundId, RoundDescription = m.First().RoundDescription, RoundTypeDescription = m.First().RoundTypeDescription })
.OrderBy(m => m.RoundName).ToList();
- var useRecentRoundCookie = !(Model.ActiveRoundId.HasValue && rounds.Any(r => r.RoundId == Model.ActiveRoundId));
+ var useRecentRoundCookie = !(Model.ActiveRoundId.HasValue && rounds.Exists(r => r.RoundId == Model.ActiveRoundId));
if (useRecentRoundCookie) { activeRoundId = rounds.FirstOrDefault()?.RoundId ?? 0; }
}
@functions {
diff --git a/League/Views/Team/MyTeam.cshtml b/League/Views/Team/MyTeam.cshtml
index 31e07e0b..614ee4d1 100644
--- a/League/Views/Team/MyTeam.cshtml
+++ b/League/Views/Team/MyTeam.cshtml
@@ -44,7 +44,7 @@
var teamPhotoInfo = Model.TeamPhotoStaticFile!.GetUriInfo(teamVenueInfo.TeamId);
var zonedLastModified = Model.TimeZoneConverter.ToZonedTime(teamPhotoInfo.Date)!;
-