Procházet zdrojové kódy

fix(tui): make mcp status icon muted when no mcp servers are enabled (#6745)

Mani Sundararajan před 9 měsíci
rodič
revize
12eea69f2e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/opencode/src/cli/cmd/tui/routes/home.tsx

+ 1 - 1
packages/opencode/src/cli/cmd/tui/routes/home.tsx

@@ -120,7 +120,7 @@ export function Home() {
                   <span style={{ fg: theme.error }}>⊙ </span>
                   <span style={{ fg: theme.error }}>⊙ </span>
                 </Match>
                 </Match>
                 <Match when={true}>
                 <Match when={true}>
-                  <span style={{ fg: theme.success }}>⊙ </span>
+                  <span style={{ fg: connectedMcpCount() > 0 ? theme.success : theme.textMuted }}>⊙ </span>
                 </Match>
                 </Match>
               </Switch>
               </Switch>
               {connectedMcpCount()} MCP
               {connectedMcpCount()} MCP