fixup! swarm-ui: the broadcast roster and the egress lists show placeholders while they load
This commit is contained in:
parent
8847e6390b
commit
ecea98c950
1 changed files with 2 additions and 2 deletions
|
|
@ -208,9 +208,9 @@ export function BroadcastComposer() {
|
|||
/>
|
||||
</div>
|
||||
|
||||
{agents === null ? (
|
||||
{agents === null && !loadError ? (
|
||||
<RosterSkeleton />
|
||||
) : shown.length === 0 ? (
|
||||
) : agents !== null && shown.length === 0 ? (
|
||||
<EmptyState centered>
|
||||
{filter === "running" && all.length > 0
|
||||
? "no agent is running right now. Show all to pick a stopped one."
|
||||
|
|
|
|||
Loading…
Reference in a new issue