Actually put the failure list in the page

The block was built into a `failed` variable and then never interpolated, so
runHtml computed it and threw it away. Two deploys changed nothing visible
because of this: the API carried the failures and the panel fetched them, but
the template never referenced them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
dlawler489 2026-09-16 15:09:27 +10:00
parent 099e6d24b4
commit 07da33a191

View file

@ -1460,6 +1460,7 @@ function runHtml(run, detail) {
${run.error ? `<div class="ai-run-error">${escapeHtml(run.error)}</div>` : ''} ${run.error ? `<div class="ai-run-error">${escapeHtml(run.error)}</div>` : ''}
${run.note ? `<div class="form-hint">${escapeHtml(run.note)}</div>` : ''} ${run.note ? `<div class="form-hint">${escapeHtml(run.note)}</div>` : ''}
${feed} ${feed}
${failed}
</div>`; </div>`;
} }