V0.1.3 #81

Merged
Penry merged 3 commits from v0.1.3 into main 2026-07-09 00:28:18 +02:00
2 changed files with 4 additions and 4 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()
@@ -242,7 +242,7 @@
var oldGenereIds = GlobalEntity.LinkTableGlobalGenres.Select(g => g.GenreId);
if (!newGenresHashSet.SetEquals(oldGenereIds))
{
Snackbar.Add("Selected genre id is", Severity.Warning);
//Snackbar.Add("Selected genre id is", Severity.Warning);
return true;
}
@@ -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;" />