Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: format the shortened error texts

This commit is contained in:
iris 2026-11-11 23:40:01 +01:00 • committed by mara
commit d831f7df2d
2 changed files with 2 additions and 8 deletions

View file

@ -151,10 +151,7 @@ export function AgentsPage() {
</div>
) : null}
{error ? (
<ApiErrorPanel
context="failed to load the agents"
problem={error}
/>
<ApiErrorPanel context="failed to load the agents" problem={error} />
) : null}
{!error && rows === null ? (
<SkeletonRegion label="the agents">

View file

@ -134,10 +134,7 @@ function HiveRoster() {
/>
</DisclosureAction>
{error ? (
<ApiErrorPanel
context="failed to load the hives"
problem={error}
/>
<ApiErrorPanel context="failed to load the hives" problem={error} />
) : null}
{!error && hives === null ? (
<TableSkeleton columns={COLUMNS} label="the hives" />