swarm-ui: tooltip on the inert wanted badge says to create the agent at swarm level; docs note destroy needs it too
This commit is contained in:
parent
d8c2fb91b2
commit
711e413901
2 changed files with 4 additions and 2 deletions
|
|
@ -83,6 +83,7 @@ export function WantedMenu({
|
|||
return (
|
||||
<div class="ui-dropdown-anchor" ref={anchorRef}>
|
||||
<Badge
|
||||
value={pending ? "…" : (row.wanted ?? "no declaration")}
|
||||
tone={tone}
|
||||
// `destroyed` and an undeclared row block opening the menu at
|
||||
// all — a UX-only guard, the server enforces both (see
|
||||
|
|
@ -96,7 +97,7 @@ export function WantedMenu({
|
|||
: !row.hive
|
||||
? "no hive on record for this agent — nothing to declare against"
|
||||
: undeclared
|
||||
? `${row.name} is not declared at swarm level — create it there`
|
||||
? "not declared at swarm level: create it there to manage it"
|
||||
: `declare a new state for ${row.name}`
|
||||
}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue