fix: title tooltip MCP edit json (#5987)

* fix/title-tooltip-mcp-json

* fix: title tooltip delete mcp
This commit is contained in:
Faisal Amir 2025-07-30 21:00:55 +07:00 committed by GitHub
parent 1e7e572d4a
commit f58d745585
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -233,7 +233,6 @@ function MCPServers() {
return () => clearInterval(intervalId)
}, [setConnectedServers])
return (
<div className="flex flex-col h-full">
<HeaderPage>
@ -354,7 +353,9 @@ function MCPServers() {
<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"
onClick={() => handleOpenJsonEditor(key)}
title={t('mcp-servers:editJson')}
title={t('mcp-servers:editJson.title', {
serverName: key,
})}
>
<IconCodeCircle
size={18}
@ -374,7 +375,7 @@ function MCPServers() {
<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"
onClick={() => handleDeleteClick(key)}
title={t('mcp-servers:deleteServer')}
title={t('mcp-servers:deleteServer.title')}
>
<IconTrash
size={18}