generated from coulomb/repo-seed
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 <noreply@anthropic.com>
This commit is contained in:
@@ -149,7 +149,7 @@ if (_h1) { _h1.style.position = "relative"; withDocHelp(_h1, "/docs/overview");
|
||||
```
|
||||
|
||||
```js
|
||||
if (summary.error) display(html`<div class="warning">⚠️ ${summary.error}</div>`);
|
||||
display(html`<div class="warning" style="display:${summary.error ? '' : 'none'}">⚠️ ${summary.error ?? ''}</div>`);
|
||||
```
|
||||
|
||||
## Workstreams by Domain
|
||||
|
||||
Reference in New Issue
Block a user