Merge pull request #89 from Moonlight-Panel/FixCreateServerBackup

Added missing refresh call
This commit is contained in:
Marcel Baumgartner
2023-04-23 15:07:27 +02:00
committed by GitHub

View File

@@ -254,6 +254,7 @@
{ {
await ToastService.Info(SmartTranslateService.Translate("Started backup creation")); await ToastService.Info(SmartTranslateService.Translate("Started backup creation"));
await ServerService.CreateBackup(CurrentServer); await ServerService.CreateBackup(CurrentServer);
await LazyLoader.Reload();
/* /*
try try
@@ -262,8 +263,6 @@
//var list = AllBackups!.ToList(); //var list = AllBackups!.ToList();
//list.Add(backup); //list.Add(backup);
//AllBackups = list.ToArray(); //AllBackups = list.ToArray();
await LazyLoader.Reload();
} }
catch (Exception e) catch (Exception e)
{ {