Skip to content

Commit e10b684

Browse files
committed
Update McpExecution component to show server name in header and tool name in approval section
1 parent 3a434be commit e10b684

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

webview-ui/src/components/chat/McpExecution.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,10 @@ export const McpExecution = ({
160160
return (
161161
<>
162162
<div className="flex flex-row items-center justify-between gap-2 mb-1">
163-
<div className="flex flex-row items-center gap-1">
163+
<div className="flex flex-row items-center gap-1 flex-wrap">
164164
<Server size={16} className="text-vscode-descriptionForeground" />
165-
<div className="flex items-center gap-1">
165+
<div className="flex items-center gap-1 flex-wrap">
166166
{serverName && <span className="font-bold text-vscode-foreground">{serverName}</span>}
167-
{serverName && toolName && <span className="text-vscode-descriptionForeground"></span>}
168-
{toolName && <span className="font-bold text-vscode-foreground">{toolName}</span>}
169167
</div>
170168
</div>
171169
<div className="flex flex-row items-center justify-between gap-2 px-1">

0 commit comments

Comments
 (0)