fix: fixed Globale Entity Delete

This commit is contained in:
2026-07-09 00:19:59 +02:00
parent 0fc39f9ec7
commit 769a2bad94
@@ -223,8 +223,8 @@
private async Task HandleDelete()
{
//TODO: Add Message Box
File.Delete(Path.Combine("wwwroot", _editedGlobalEntity.PicturePath));
Dialog.Close(DialogResult.Ok((_editedGlobalEntity, true)));
File.Delete(Path.Combine("wwwroot", GlobalEntity.PicturePath));
Dialog.Close(DialogResult.Ok((GlobalEntity, true)));
}
private bool CheckForChanges()