Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #29 from Lyddon7522/issue23-FinesActionsDisplaying
Browse files Browse the repository at this point in the history
#23  Fines “Actions” table column is showing up for non admins
  • Loading branch information
Lyddon7522 authored Dec 26, 2021
2 parents e1785ae + f812f80 commit f55d800
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DynamoLeagueBlazor/Client/Features/Fines/List.razor
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<MudTh>Status</MudTh>
</HeaderContent>
<RowTemplate>
<MudTd DataLabel=Actions>
<AuthorizeView Roles=@RoleName.Admin>
<AuthorizeView Roles=@RoleName.Admin>
<MudTd DataLabel=Actions>
<Authorized>
<MudIconButton Icon="@Icons.Material.Outlined.Approval" Color="Color.Info" Variant="Variant.Outlined" Size="Size.Small" Class="ma-2" OnClick="(e) => OpenManageFineDialog(fineItem.FineId)" />
</Authorized>
</AuthorizeView>
</MudTd>
</MudTd>
</AuthorizeView>
<MudTd DataLabel=Name>
<PlayerNameWithHeadShot Name="@fineItem.PlayerName" HeadShotUrl="@fineItem.PlayerHeadShotUrl" />
</MudTd>
Expand Down

0 comments on commit f55d800

Please sign in to comment.