diff --git a/Moonlight/Shared/Views/Admin/Sys/Resources.razor b/Moonlight/Shared/Views/Admin/Sys/Resources.razor index 982b4064..75f2b342 100644 --- a/Moonlight/Shared/Views/Admin/Sys/Resources.razor +++ b/Moonlight/Shared/Views/Admin/Sys/Resources.razor @@ -4,12 +4,38 @@ @using Moonlight.App.Helpers.Files @using Moonlight.Shared.Components.Navigations @using Moonlight.App.Helpers +@using Moonlight.App.Services +@using Moonlight.App.Services.Interop + +@inject SmartTranslateService SmartTranslateService +@inject ConfigService ConfigService +@inject AlertService AlertService - - + + +
+
+ + +
+
+
-
\ No newline at end of file + + +@code +{ + private async Task ReloadConfig() + { + ConfigService.Reload(); + + await AlertService.Success(SmartTranslateService.Translate("Successfully reloaded configuration")); + } +} \ No newline at end of file