Fix site deletion with dependent logs

This commit is contained in:
2026-05-07 15:48:12 +02:00
parent dc3fd77c86
commit bbd1f62062
2 changed files with 14 additions and 3 deletions
@@ -690,9 +690,16 @@
if (result != true) return;
await StandortePageService.DeleteSiteAsync(site);
await LoadDataAsync();
Snackbar.Add("Standort gelöscht", Severity.Info);
try
{
await StandortePageService.DeleteSiteAsync(site);
await LoadDataAsync();
Snackbar.Add("Standort geloescht", Severity.Info);
}
catch (Exception ex)
{
Snackbar.Add($"Standort konnte nicht geloescht werden: {ex.Message}", Severity.Error);
}
}
private static string GetServerNode(HanaServer? server)