Compare commits
1 Commits
769a2bad94
..
v0.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 5fcc42a99f |
@@ -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", GlobalEntity.PicturePath));
|
File.Delete(Path.Combine("wwwroot", _editedGlobalEntity.PicturePath));
|
||||||
Dialog.Close(DialogResult.Ok((GlobalEntity, true)));
|
Dialog.Close(DialogResult.Ok((_editedGlobalEntity, 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}?v={DateTime.Now.Ticks}")"
|
Src="@PrivateEntity.GlobalEntity.PicturePath"
|
||||||
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;" />
|
||||||
|
|||||||
Reference in New Issue
Block a user