fix: title tooltip MCP edit json (#5987)
* fix/title-tooltip-mcp-json * fix: title tooltip delete mcp
This commit is contained in:
parent
1e7e572d4a
commit
f58d745585
@ -233,7 +233,6 @@ function MCPServers() {
|
|||||||
return () => clearInterval(intervalId)
|
return () => clearInterval(intervalId)
|
||||||
}, [setConnectedServers])
|
}, [setConnectedServers])
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col h-full">
|
<div className="flex flex-col h-full">
|
||||||
<HeaderPage>
|
<HeaderPage>
|
||||||
@ -354,7 +353,9 @@ function MCPServers() {
|
|||||||
<div
|
<div
|
||||||
className="size-6 cursor-pointer flex items-center justify-center rounded hover:bg-main-view-fg/10 transition-all duration-200 ease-in-out"
|
className="size-6 cursor-pointer flex items-center justify-center rounded hover:bg-main-view-fg/10 transition-all duration-200 ease-in-out"
|
||||||
onClick={() => handleOpenJsonEditor(key)}
|
onClick={() => handleOpenJsonEditor(key)}
|
||||||
title={t('mcp-servers:editJson')}
|
title={t('mcp-servers:editJson.title', {
|
||||||
|
serverName: key,
|
||||||
|
})}
|
||||||
>
|
>
|
||||||
<IconCodeCircle
|
<IconCodeCircle
|
||||||
size={18}
|
size={18}
|
||||||
@ -374,7 +375,7 @@ function MCPServers() {
|
|||||||
<div
|
<div
|
||||||
className="size-6 cursor-pointer flex items-center justify-center rounded hover:bg-main-view-fg/10 transition-all duration-200 ease-in-out"
|
className="size-6 cursor-pointer flex items-center justify-center rounded hover:bg-main-view-fg/10 transition-all duration-200 ease-in-out"
|
||||||
onClick={() => handleDeleteClick(key)}
|
onClick={() => handleDeleteClick(key)}
|
||||||
title={t('mcp-servers:deleteServer')}
|
title={t('mcp-servers:deleteServer.title')}
|
||||||
>
|
>
|
||||||
<IconTrash
|
<IconTrash
|
||||||
size={18}
|
size={18}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user