Merge pull request #3 from built-by-as/clear-mcp-sidebar
Clear MCP sidebar when switching between sessions
This commit is contained in:
commit
ad3c2928cf
|
|
@ -525,6 +525,10 @@ function switchToSession(sessionId: string) {
|
||||||
mcpSection.style.display = "block";
|
mcpSection.style.display = "block";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clear MCP servers from previous session and re-render
|
||||||
|
mcpServers = [];
|
||||||
|
renderMcpServers();
|
||||||
|
|
||||||
// Load MCP servers for this session
|
// Load MCP servers for this session
|
||||||
loadMcpServers();
|
loadMcpServers();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue