From c5e24cd4c34c44f9bb07268725403008f1ee9ebf Mon Sep 17 00:00:00 2001 From: Penry Date: Thu, 9 Jul 2026 00:28:18 +0200 Subject: [PATCH] V0.1.3 (#81) Reviewed-on: https://gitea.penry.de/Penry/CouchLog/pulls/81 --- .../Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor | 6 +++--- .../Pages/PrivateList/Components/PrivateEntityCard.razor | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor b/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor index 2f0566b..2ce79a3 100644 --- a/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor +++ b/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor @@ -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; } diff --git a/CouchLog/Components/Pages/PrivateList/Components/PrivateEntityCard.razor b/CouchLog/Components/Pages/PrivateList/Components/PrivateEntityCard.razor index fadae32..a9843f6 100644 --- a/CouchLog/Components/Pages/PrivateList/Components/PrivateEntityCard.razor +++ b/CouchLog/Components/Pages/PrivateList/Components/PrivateEntityCard.razor @@ -6,7 +6,7 @@