mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-08 19:48:51 +01:00
feat: add OAuth servers to conditional rendering logic for MCPPanel in SideNav
This commit is contained in:
parent
ef9d9b1276
commit
49f87016a8
4 changed files with 8 additions and 2 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue