forked from Sarah/Lieb-Website
deleting Raids and Templates is now logged
This commit is contained in:
parent
300ab2370f
commit
de3a6a9f83
4 changed files with 32 additions and 7 deletions
|
@ -259,7 +259,7 @@
|
|||
bool confirmed = await JsRuntime.InvokeAsync<bool>("confirm", "Are you sure you want to delete the raid?");
|
||||
if (confirmed)
|
||||
{
|
||||
await RaidService.DeleteRaid(_raid.RaidId);
|
||||
await RaidService.DeleteRaid(_raid.RaidId, _user.Id);
|
||||
NavigationManager.NavigateTo("raidoverview");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue