Merge pull request #3 from built-by-as/clear-mcp-sidebar

Clear MCP sidebar when switching between sessions
This commit is contained in:
built-by-as 2025-10-06 18:39:35 -04:00 committed by GitHub
commit ad3c2928cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -525,6 +525,10 @@ function switchToSession(sessionId: string) {
mcpSection.style.display = "block";
}
// Clear MCP servers from previous session and re-render
mcpServers = [];
renderMcpServers();
// Load MCP servers for this session
loadMcpServers();