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>
|
</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">
|
||||||
|
|
|
||||||
|
|
@ -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" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue