fixed deleting the user
This commit is contained in:
parent
26780fae6e
commit
f9e05ab545
2 changed files with 4 additions and 10 deletions
|
@ -112,11 +112,7 @@
|
|||
bool confirmed = await JsRuntime.InvokeAsync<bool>("confirm", "Are you sure you want to delete this Website Account?\nThis will sign you off in every raid in which you are signed up.");
|
||||
if (confirmed)
|
||||
{
|
||||
await UserService.DeleteUser(_user);
|
||||
}
|
||||
else
|
||||
{
|
||||
NavigationManager.NavigateTo("accountedit");
|
||||
await UserService.DeleteUser(_user.Id);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue