chore: remove temporary debug panel from Jobs page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user