feat: add OAuth servers to conditional rendering logic for MCPPanel in SideNav

This commit is contained in:
Dustin Healy 2025-07-28 14:09:40 -07:00
parent ef9d9b1276
commit 49f87016a8
4 changed files with 8 additions and 2 deletions

View file

@ -155,7 +155,9 @@ export default function useSideNavLinks({
if (
startupConfig?.mcpServers &&
Object.values(startupConfig.mcpServers).some(
(server) => server.customUserVars && Object.keys(server.customUserVars).length > 0,
(server: any) =>
(server.customUserVars && Object.keys(server.customUserVars).length > 0) ||
server.isOAuth,
)
) {
links.push({