swarm-ui: the cancel badge is a filled pill like its neighbours
This commit is contained in:
parent
8060e91939
commit
9b0c0ad7be
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ export function CancelTurnBadge({
|
|||
}
|
||||
|
||||
if (state.status === "done") {
|
||||
return <Badge variant="quiet" value={cancelNote(state.acted)} />;
|
||||
return <Badge value={cancelNote(state.acted)} />;
|
||||
}
|
||||
if (state.status === "error") {
|
||||
return (
|
||||
|
|
@ -72,7 +72,7 @@ export function CancelTurnBadge({
|
|||
if (!canCancel(turnState)) return null;
|
||||
return (
|
||||
<Badge
|
||||
variant="quiet"
|
||||
tone="warning"
|
||||
value={state.status === "cancelling" ? "cancelling…" : "cancel turn"}
|
||||
title="stop the agent's current turn"
|
||||
onClick={state.status === "cancelling" ? undefined : cancel}
|
||||
|
|
|
|||
Loading…
Reference in a new issue