Fix: Connected attribute was not properly set.

This commit is contained in:
famez
2026-02-11 17:55:22 +01:00
parent c5f1d7fc49
commit be05e9243a

View File

@@ -531,7 +531,7 @@ class MCPScreen(ModalScreen):
enabled_icon = "🟢" if mcp.config.enabled else "🔴"
text.append(f"Enabled: {enabled_icon}\n", style="#9a9a9a")
connected_icon = "🟢" if mcp.config.enabled else "🔴"
connected_icon = "🟢" if mcp.connected else "🔴"
text.append(f"Connected: {connected_icon}\n", style="#9a9a9a")
elif tool is not None:
text.append(f"{tool['description']}\n", style="#d4d4d4")