diff --git a/src/iRLeagueManager.Web/Components/Standings/DisplayStanding.razor b/src/iRLeagueManager.Web/Components/Standings/DisplayStanding.razor
index f36798c..ddffbbc 100644
--- a/src/iRLeagueManager.Web/Components/Standings/DisplayStanding.razor
+++ b/src/iRLeagueManager.Web/Components/Standings/DisplayStanding.razor
@@ -16,7 +16,7 @@
@if (showRaceByRace)
{
-
+
}
else
{
diff --git a/src/iRLeagueManager.Web/Components/Standings/RaceByRacePoints.razor b/src/iRLeagueManager.Web/Components/Standings/RaceByRacePoints.razor
index fb8ac44..f3fdf2b 100644
--- a/src/iRLeagueManager.Web/Components/Standings/RaceByRacePoints.razor
+++ b/src/iRLeagueManager.Web/Components/Standings/RaceByRacePoints.razor
@@ -92,7 +92,14 @@
@(row.Position).
- @row.Firstname @row.Lastname
+ @if (Standing.IsTeamStanding)
+ {
+ @row.TeamName
+ }
+ else
+ {
+ @row.Firstname @row.Lastname
+ }
|
@foreach (var race in columns)
{
@@ -121,13 +128,15 @@
@code {
[Parameter] public IEnumerable Events { get; set; } = default!;
- [Parameter] public IEnumerable StandingRows { get; set; } = default!;
+ [Parameter] public StandingsModel Standing { get; set; } = default!;
[Parameter] public int? RaceColumns { get; set; }
+ private IEnumerable StandingRows => Standing.StandingRows;
+
protected override void OnParametersSet()
{
base.OnParametersSet();
BlazorParameterNullException.ThrowIfNull(this, Events);
- BlazorParameterNullException.ThrowIfNull(this, StandingRows);
+ BlazorParameterNullException.ThrowIfNull(this, Standing);
}
}
diff --git a/src/iRLeagueManager.Web/appsettings.json b/src/iRLeagueManager.Web/appsettings.json
index 8813a99..bc04f2c 100644
--- a/src/iRLeagueManager.Web/appsettings.json
+++ b/src/iRLeagueManager.Web/appsettings.json
@@ -9,8 +9,8 @@
}
},
"AllowedHosts": "*",
- "APIServer": "http://localhost:5000",
- //"APIServer": "https://irleaguemanager.net/api/",
+ //"APIServer": "http://localhost:5000",
+ "APIServer": "https://irleaguemanager.net/api/",
"DefaultUser": "testuser",
"DefaultPassword": "TestPass123!"
}
diff --git a/src/iRLeagueManager.Web/iRLeagueManager.Web.csproj b/src/iRLeagueManager.Web/iRLeagueManager.Web.csproj
index 7791cde..b2a21f1 100644
--- a/src/iRLeagueManager.Web/iRLeagueManager.Web.csproj
+++ b/src/iRLeagueManager.Web/iRLeagueManager.Web.csproj
@@ -2,7 +2,7 @@
net7.0
- 0.12.3
+ 0.12.4
enable
enable
aspnet-iRLeagueManager.Web-2B05F9DC-55A3-49D1-BD64-31507000EDF3