4 Commits

2 changed files with 3 additions and 3 deletions
@@ -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()
@@ -6,7 +6,7 @@
<!--<editor-fold desc="Poster-Image">-->
<MudItem xs="4">
<MudImage
Src="@PrivateEntity.GlobalEntity.PicturePath"
Src="@($"{PrivateEntity.GlobalEntity.PicturePath}?v={DateTime.Now.Ticks}")"
Alt=""
ObjectFit="ObjectFit.Cover"
Style="width: 100%; height: 100%; min-height: 180px; border-radius: 4px 0 0 4px;" />