Skip to content

Commit

Permalink
Merge pull request #121 from SSchulze1989/develop
Browse files Browse the repository at this point in the history
v 0.10.1
  • Loading branch information
SSchulze1989 authored Oct 31, 2023
2 parents bd63bef + 8cf674f commit 973ae2f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions src/iRLeagueManager.Web/Pages/Protests.razor
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,17 @@

private IEnumerable<MemberInfoModel> EventMembers { get; set; } = Array.Empty<MemberInfoModel>();

protected override async Task OnAfterRenderAsync(bool firstRender)
{
await base.OnAfterRenderAsync(firstRender);
if (firstRender == false || EventId == null)
{
return;
}
await ReviewsVm.LoadFromEventAsync(EventId.Value, CancellationToken);
EventMembers = ReviewsVm.EventCars.Cars.SelectMany(x => x.Members);
}

private async Task<IEnumerable<MemberInfoModel>> SearchMembers(string searchString)
{
if (string.IsNullOrEmpty(searchString))
Expand Down
4 changes: 2 additions & 2 deletions src/iRLeagueManager.Web/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
}
6 changes: 3 additions & 3 deletions src/iRLeagueManager.Web/iRLeagueManager.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Version>0.10.0</Version>
<Version>0.10.1</Version>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>aspnet-iRLeagueManager.Web-2B05F9DC-55A3-49D1-BD64-31507000EDF3</UserSecretsId>
Expand Down Expand Up @@ -139,8 +139,8 @@
<PackageReference Include="Blazored.LocalStorage" Version="4.3.0" />
<PackageReference Include="Blazored.Modal" Version="7.1.0" />
<PackageReference Include="HtmlSanitizer" Version="8.0.645" />
<PackageReference Include="iRLeagueApiCore.Client" Version="0.10.0-dev.2" />
<PackageReference Include="iRLeagueApiCore.Common" Version="0.10.0-dev.10" />
<PackageReference Include="iRLeagueApiCore.Client" Version="0.10.0" />
<PackageReference Include="iRLeagueApiCore.Common" Version="0.10.0" />
<PackageReference Include="Markdig" Version="0.31.0" />
<PackageReference Include="Blazored.Toast" Version="4.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.3" />
Expand Down

0 comments on commit 973ae2f

Please sign in to comment.