From 1bcc46ea3fa40ba5b1e5199529cec9c44cb0341b Mon Sep 17 00:00:00 2001 From: tegwick Date: Thu, 19 Mar 2026 00:51:11 +0100 Subject: [PATCH] fix(dashboard): clear API-unreachable warning when API recovers Always call display() for the warning element so Observable Framework replaces it on each poll re-run. Previously the conditional display() call left the warning rendered indefinitely once shown. Co-Authored-By: Claude Sonnet 4.6 --- dashboard/src/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/index.md b/dashboard/src/index.md index e616994..1fcc05f 100644 --- a/dashboard/src/index.md +++ b/dashboard/src/index.md @@ -149,7 +149,7 @@ if (_h1) { _h1.style.position = "relative"; withDocHelp(_h1, "/docs/overview"); ``` ```js -if (summary.error) display(html`
⚠️ ${summary.error}
`); +display(html`
⚠️ ${summary.error ?? ''}
`); ``` ## Workstreams by Domain