4 Commits

2 changed files with 3 additions and 3 deletions
@@ -223,8 +223,8 @@
private async Task HandleDelete() private async Task HandleDelete()
{ {
//TODO: Add Message Box //TODO: Add Message Box
File.Delete(Path.Combine("wwwroot", _editedGlobalEntity.PicturePath)); File.Delete(Path.Combine("wwwroot", GlobalEntity.PicturePath));
Dialog.Close(DialogResult.Ok((_editedGlobalEntity, true))); Dialog.Close(DialogResult.Ok((GlobalEntity, true)));
} }
private bool CheckForChanges() private bool CheckForChanges()
@@ -6,7 +6,7 @@
<!--<editor-fold desc="Poster-Image">--> <!--<editor-fold desc="Poster-Image">-->
<MudItem xs="4"> <MudItem xs="4">
<MudImage <MudImage
Src="@PrivateEntity.GlobalEntity.PicturePath" Src="@($"{PrivateEntity.GlobalEntity.PicturePath}?v={DateTime.Now.Ticks}")"
Alt="" Alt=""
ObjectFit="ObjectFit.Cover" ObjectFit="ObjectFit.Cover"
Style="width: 100%; height: 100%; min-height: 180px; border-radius: 4px 0 0 4px;" /> Style="width: 100%; height: 100%; min-height: 180px; border-radius: 4px 0 0 4px;" />