swarm-ui: format the shortened error texts
This commit is contained in:
parent
169a39515d
commit
d831f7df2d
2 changed files with 2 additions and 8 deletions
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue