Skip to content

Commit

Permalink
Fix for member not being removed from UI list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Jacobsen Work committed Jul 27, 2023
1 parent 0cdc9bf commit bf13447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BLAZAMGui/UI/Groups/GroupMembersDataGrid.razor
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</HeaderTemplate>
<CellTemplate Context="cellContext">
<MudTooltip ShowOnHover=@(!cellContext.Item.CanUnassign) Text="You don't have permission to remove this group member">
<MudButton Disabled=@(!cellContext.Item.CanUnassign) Color="Color.Error" OnClick="(()=>{Group.UnassignMember(cellContext.Item);InvokeAsync(StateHasChanged);})">
<MudButton Disabled=@(!cellContext.Item.CanUnassign) Color="Color.Error" OnClick="(()=>{Group.UnassignMember(cellContext.Item);InvokeAsync(OnInitializedAsync);})">
Remove
</MudButton>
</MudTooltip>
Expand Down

0 comments on commit bf13447

Please sign in to comment.