Skip to content

Commit 2c317c4

Browse files
committed
fix: don't pre-check unconfigured MCP servers
1 parent 596ae4c commit 2c317c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/webview/client/homescreen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function renderMcpRows(
146146
const statusClass = isConfigured ? "hs-ai-item-status--ok" : "hs-ai-item-status--none";
147147
const statusText = isConfigured ? "configured" : "—";
148148
return `<label class="hs-ai-item">
149-
<input type="checkbox" class="hs-ai-cb" data-mcp="${escapeHtml(s.key)}" checked ${isConfigured ? "disabled" : ""}>
149+
<input type="checkbox" class="hs-ai-cb" data-mcp="${escapeHtml(s.key)}" ${isConfigured ? "checked disabled" : ""}>
150150
<span class="hs-ai-item-name" title="${escapeHtml(s.description)}">${escapeHtml(s.label)}</span>
151151
<span class="hs-ai-item-status ${statusClass}">${statusText}</span>
152152
</label>`;

0 commit comments

Comments
 (0)