mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 16:21:15 +00:00
fix(ui): Stop button shows Send during tool execution
This commit is contained in:
committed by
Radek Sienkiewicz
parent
54cd0859d3
commit
0ed29fcc55
@@ -893,7 +893,7 @@ function renderSlashMenu(
|
||||
|
||||
export function renderChat(props: ChatProps) {
|
||||
const canCompose = props.connected;
|
||||
const isBusy = props.sending || props.stream !== null;
|
||||
const isBusy = props.sending || props.stream !== null || props.canAbort;
|
||||
const canAbort = Boolean(props.canAbort && props.onAbort);
|
||||
const activeSession = props.sessions?.sessions?.find((row) => row.key === props.sessionKey);
|
||||
const reasoningLevel = activeSession?.reasoningLevel ?? "off";
|
||||
|
||||
Reference in New Issue
Block a user