diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index b10e5c67d9..f042f06db3 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -1053,41 +1053,8 @@ export const ChatRowContent = ({ }} onClick={canExpand ? handleToggleExpand : undefined}>
- {apiReqCancelReason !== null && apiReqCancelReason !== undefined ? ( - apiReqCancelReason === "user_cancelled" ? ( -
- -
- ) : ( -
- -
- ) - ) : canExpand ? ( + {/* Use chevron icon for expandable completed requests, otherwise use the computed icon */} + {canExpand ? (
- ) : apiRequestFailedMessage ? ( -
- -
) : ( - + icon )} {title}
@@ -1133,7 +1086,7 @@ export const ChatRowContent = ({ code={message.text} language="json" isExpanded={true} - onToggleExpand={() => {}} + onToggleExpand={handleToggleExpand} /> )}