fix: mcp info when long string without space (#5080)
This commit is contained in:
parent
bed0f98beb
commit
fce559a8fa
@ -214,8 +214,6 @@ function MCPServers() {
|
|||||||
: 'bg-main-view-fg/50'
|
: 'bg-main-view-fg/50'
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
{/* condition here when server is running or not */}
|
|
||||||
{/* <div className="size-2 rounded-full bg-main-view-fg/20" /> */}
|
|
||||||
<h1 className="text-main-view-fg text-base capitalize">
|
<h1 className="text-main-view-fg text-base capitalize">
|
||||||
{key}
|
{key}
|
||||||
</h1>
|
</h1>
|
||||||
@ -224,11 +222,11 @@ function MCPServers() {
|
|||||||
description={
|
description={
|
||||||
<div className="text-sm text-main-view-fg/70">
|
<div className="text-sm text-main-view-fg/70">
|
||||||
<div>Command: {config.command}</div>
|
<div>Command: {config.command}</div>
|
||||||
<div className="my-1">
|
<div className="my-1 break-all">
|
||||||
Args: {config.args.join(', ')}
|
Args: {config.args.join(', ')}
|
||||||
</div>
|
</div>
|
||||||
{Object.keys(config.env).length > 0 && (
|
{Object.keys(config.env).length > 0 && (
|
||||||
<div>
|
<div className="break-all">
|
||||||
Env:{' '}
|
Env:{' '}
|
||||||
{Object.entries(config.env)
|
{Object.entries(config.env)
|
||||||
.map(([key, value]) => `${key}=${value}`)
|
.map(([key, value]) => `${key}=${value}`)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user