We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f3ace4 commit 66055f1Copy full SHA for 66055f1
webview-ui/src/components/settings/SettingsView.tsx
@@ -445,10 +445,7 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
445
<div style={{ marginBottom: 5 }}>
446
<VSCodeCheckbox
447
checked={alwaysAllowMcp}
448
- onChange={(e: any) => {
449
- setAlwaysAllowMcp(e.target.checked)
450
- vscode.postMessage({ type: "alwaysAllowMcp", bool: e.target.checked })
451
- }}>
+ onChange={(e: any) => setAlwaysAllowMcp(e.target.checked)}>
452
<span style={{ fontWeight: "500" }}>Always approve MCP tools</span>
453
</VSCodeCheckbox>
454
<p style={{ fontSize: "12px", marginTop: "5px", color: "var(--vscode-descriptionForeground)" }}>
0 commit comments