diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx
index c7743985a2..fa17bf1541 100644
--- a/webview-ui/src/components/chat/ChatRow.tsx
+++ b/webview-ui/src/components/chat/ChatRow.tsx
@@ -340,7 +340,7 @@ export const ChatRowContent = ({
)
) : bgDone ? (
bgStatus === "completed" ? (
-
+ getIconSpan("arrow-swap", normalColor)
) : (
getIconSpan("error", bgStatus === "canceled" ? cancelledColor : errorColor)
)
@@ -352,7 +352,9 @@ export const ChatRowContent = ({
),
apiReqCancelReason !== null && apiReqCancelReason !== undefined ? (
- apiReqCancelReason === "user_cancelled" ? (
+ isBackground && label ? (
+ {label}
+ ) : apiReqCancelReason === "user_cancelled" ? (
{t("chat:apiRequest.cancelled")}
@@ -379,17 +381,7 @@ export const ChatRowContent = ({
default:
return [null, null]
}
- }, [
- type,
- isCommandExecuting,
- message,
- isExpanded,
- isMcpServerResponding,
- apiReqCancelReason,
- cost,
- apiRequestFailedMessage,
- t,
- ])
+ }, [type, isCommandExecuting, message, isMcpServerResponding, apiReqCancelReason, cost, apiRequestFailedMessage, t])
const headerStyle: React.CSSProperties = {
display: "flex",