1
0
mirror of synced 2024-12-01 01:27:21 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/UserDeleteConfirmDialog.razor
2024-03-08 18:42:56 -05:00

23 lines
721 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>