private async Task ClearLogsAsync() { await AdminApi.ClearLogsAsync(); await OnInitializedAsync(); ToastService.DisplayToast("Logs vidés.", TimeSpan.FromSeconds(3), ToastType.Success, "clear-logs-admin", true); LogsTable.SetItems(Logs); ShowWarning = false; }