From 9eb9e047e1d97b9fe9169cda1c756a59e6169b39 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Thu, 27 Jun 2024 12:01:41 +0200 Subject: [PATCH] Added auto refresh to image import --- Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor b/Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor index 7851407a..7b0dd8d1 100644 --- a/Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor +++ b/Moonlight/Features/Servers/UI/Views/Admin/Images/Index.razor @@ -277,7 +277,7 @@ await ToastService.Success($"Successfully imported '{image.Name}'"); await ImageUpload.RemoveSelection(); - //await Crud.Reload(); + await Crud.Refresh(); } catch (DisplayException) { @@ -313,7 +313,7 @@ await ToastService.Success($"Successfully imported '{image.Name}'"); await EggUpload.RemoveSelection(); - //await Crud.Reload(); + await Crud.Refresh(); } catch (DisplayException) {