Refusal leaves board data in the inspector, project tree, footer and scan line, and bus data in the Inbox count and the Ctrl+K palette. Gate green, 13 of 20 mutants killed, fonts match the upstream archive. Co-Authored-By: Claude Opus 5.5 <[email protected]>
14 lines
953 B
Diff
14 lines
953 B
Diff
diff --git a/packages/webui/src/public/app.js b/packages/webui/src/public/app.js
|
|
index 1bd88cf2..a5cf03b4 100644
|
|
--- a/packages/webui/src/public/app.js
|
|
+++ b/packages/webui/src/public/app.js
|
|
@@ -305,7 +305,7 @@
|
|
failed = true; $('error').hidden = false;
|
|
const refused = err.status === 403;
|
|
$('error').className = refused ? 'banner ref' : 'banner err';
|
|
- $('board-refused').hidden = !refused; document.body.classList.toggle('board-refused', refused);
|
|
+ $('board-refused').hidden = !refused;
|
|
$('error').innerHTML = refused
|
|
? `<p><b>The board refused the read.</b> refused: <code>${esc(err.message)}</code> Board: ${esc(board)}. Console shows nothing rather than a guess. Use Refresh to try again.</p>`
|
|
: `<p><b>${esc(err.message)}</b> Board: ${esc(board)}. ${data ? `Showing last known data.${data.generatedAt ? ` Scanned ${esc(data.generatedAt)}.` : ''}` : 'No board data loaded.'} Use Refresh to try again.</p>`;
|