feat: show disabled message for MCP if disabled by admin
This commit is contained in:
parent
6598711354
commit
d295c20f77
1 changed files with 2 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ function MCPSection() {
|
|||
}));
|
||||
}, [servers, selectedProfile]);
|
||||
|
||||
if (true) {
|
||||
if (disableMcp) {
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center p-2">
|
||||
<span className="text-description">
|
||||
|
|
@ -262,6 +262,7 @@ function MCPSection() {
|
|||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-1">
|
||||
<div className="flex max-h-[170px] flex-col gap-1 overflow-y-auto overflow-x-hidden pr-2">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue