From 73b93f8262e1b3dc4e242428f08314e020bbf45b Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Sun, 14 Apr 2024 11:56:04 +0200 Subject: [PATCH] Fixed image deletion --- Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor b/Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor index 86c5f34..7b18549 100644 --- a/Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor +++ b/Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor @@ -168,6 +168,8 @@ /* this should not fail the operation */ } } + + ImageRepository.Delete(serverImage); return Task.CompletedTask; }