From 07e1756c693f1760bcfc30a02ad44f54b270f6a9 Mon Sep 17 00:00:00 2001 From: Penry Date: Thu, 9 Jul 2026 00:27:08 +0200 Subject: [PATCH 1/3] fix: fixed that after Picture change Private Entity Pic comes from cache --- .../Pages/PrivateList/Components/PrivateEntityCard.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ -- 2.52.0 From ba9f66554cccbbb4c3316d7a31b261805a6e2cd0 Mon Sep 17 00:00:00 2001 From: Penry Date: Thu, 9 Jul 2026 00:27:25 +0200 Subject: [PATCH 2/3] fix: fixed Globale Entity Delete --- .../Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor b/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor index 2f0566b..7dd05ba 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() -- 2.52.0 From 31f296495d2b2bc1fa7126ce4c0b82ea7290f646 Mon Sep 17 00:00:00 2001 From: Penry Date: Thu, 9 Jul 2026 00:27:39 +0200 Subject: [PATCH 3/3] refactor: removed Debug Message --- .../Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor b/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor index 7dd05ba..2ce79a3 100644 --- a/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor +++ b/CouchLog/Components/Pages/GlobalList/Dialogs/EditGlobalEntityDialog.razor @@ -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; } -- 2.52.0