chore: remove temporary debug panel from Jobs page

This commit is contained in:
2026-07-06 15:50:08 +02:00
parent 902c4418ae
commit 3a5729045e

View File

@@ -65,17 +65,7 @@
</div>
}
@* Debug: show raw ParentJobId values *@
@if (jobs.Count > 0) {
<details class="mt-3">
<summary class="small text-muted">Debug: job data</summary>
<pre class="small text-muted" style="max-height: 200px; overflow: auto;">@debugInfo</pre>
</details>
}
@code {
string? debugInfo;
CancellationTokenSource? pollCts;
List<JobStatusDto> jobs = [];
string? errorMessage;
@@ -96,7 +86,6 @@
async Task RefreshOnce() {
try {
jobs = await JobsService.GetJobs();
debugInfo = string.Join("\n", jobs.Select(j => $" {j.Id}: [{j.Status}] \"{j.Name}\" parent={(j.ParentJobId.HasValue ? j.ParentJobId.Value.ToString() : "null")}"));
errorMessage = null;
} catch (Exception ex) {
errorMessage = ex.Message;