1
0
mirror of synced 2024-12-19 09:55:55 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/UserDeleteConfirmDialog.razor

23 lines
720 B
Plaintext

@inject HttpClient Client
@inject ISnackbar Snackbar
<MudDialog>
<TitleContent>
<MudText Typo="Typo.h6">
<MudIcon Icon="@Icons.Material.Filled.DeleteForever" Class="mr-3 mb-n1"/>
Delete user?
</MudText>
</TitleContent>
<DialogContent>
<MudText>
Do you really want to delete this user's data?
All the related data will be deleted and this process cannot be undone!
</MudText>
</DialogContent>
<DialogActions>
<MudButton OnClick="Cancel">CANCEL</MudButton>
<MudButton Color="Color.Error" OnClick="DeleteUser">
<MudText>DELETE</MudText>
</MudButton>
</DialogActions>
</MudDialog>