Optimize RemoveInvalidServerResult

This commit is contained in:
2dust
2025-02-17 20:00:28 +08:00
parent 317a5da120
commit deafd73306
2 changed files with 12 additions and 15 deletions
@@ -520,7 +520,7 @@ namespace ServiceLib.ViewModels
}
var exists = lstSelecteds.Exists(t => t.IndexId == _config.IndexId);
await ConfigHandler.RemoveServer(_config, lstSelecteds);
await ConfigHandler.RemoveServers(_config, lstSelecteds);
NoticeHandler.Instance.Enqueue(ResUI.OperationSuccess);
if (lstSelecteds.Count == _profileItems.Count)
{