Skip to content

Commit

Permalink
[B] Fix Standings not displayed for single championship
Browse files Browse the repository at this point in the history
  • Loading branch information
SSchulze1989 committed Jan 6, 2025
1 parent 24566bb commit 4b77193
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions src/iRLeagueManager.Web/Pages/Standings.razor
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,14 @@
else
{
var standing = vm.Standings.First();
<MudTabPanel Text="@standing.Name">
<AuthorizeView Roles="@GetRoleString(LeagueRoles.Admin, LeagueRoles.Organizer)">
<Authorized>
<DisplayStanding class="px-0 mt-2 mb-2 mx-0" Standing="standing" CanEdit="true" Refresh="Refresh" />
</Authorized>
<NotAuthorized>
<DisplayStanding class="px-0 mt-2 mb-2 mx-0" Standing="standing" Refresh="Refresh" />
</NotAuthorized>
</AuthorizeView>
</MudTabPanel>
<AuthorizeView Roles="@GetRoleString(LeagueRoles.Admin, LeagueRoles.Organizer)">
<Authorized>
<DisplayStanding class="px-0 mt-2 mb-2 mx-0" Standing="standing" CanEdit="true" Refresh="Refresh" />
</Authorized>
<NotAuthorized>
<DisplayStanding class="px-0 mt-2 mb-2 mx-0" Standing="standing" Refresh="Refresh" />
</NotAuthorized>
</AuthorizeView>
}
}
</MudElement>
Expand Down
2 changes: 1 addition & 1 deletion src/iRLeagueManager.Web/iRLeagueManager.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>0.14.3</Version>
<Version>0.14.4</Version>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>aspnet-iRLeagueManager.Web-2B05F9DC-55A3-49D1-BD64-31507000EDF3</UserSecretsId>
Expand Down

0 comments on commit 4b77193

Please sign in to comment.