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> </div>
) : null} ) : null}
{error ? ( {error ? (
<ApiErrorPanel <ApiErrorPanel context="failed to load the agents" problem={error} />
context="failed to load the agents"
problem={error}
/>
) : null} ) : null}
{!error && rows === null ? ( {!error && rows === null ? (
<SkeletonRegion label="the agents"> <SkeletonRegion label="the agents">

View file

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