V0.1.3 #81
@@ -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;" />
|
||||
|
||||
Reference in New Issue
Block a user