fix: fixed Globale Entity Delete
This commit is contained in:
1 parent
0fc39f9ec7
commit
769a2bad94
1 file changed
+2
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user