mirror of
https://github.com/penpot/penpot.git
synced 2026-07-22 05:57:56 +00:00
✨ Remove misleading MCP config from success modal (#10415)
Signed-off-by: Shlok1729 <shlokgoyal1279@gmail.com> Signed-off-by: Shlok Goyal <shlokgoyal1279@gmail.com> Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
cddbd8e897
commit
826072c65d
@ -116,25 +116,6 @@
|
||||
(tr "integrations.mcp-key.will-not-expire")
|
||||
(tr "integrations.token.will-not-expire")))]]
|
||||
|
||||
(when is-mcp
|
||||
[:div {:class (stl/css :modal-content)}
|
||||
[:> text* {:as "div"
|
||||
:typography t/body-small
|
||||
:class (stl/css :color-primary)}
|
||||
(tr "integrations.info.mcp-client-config")]
|
||||
[:textarea {:class (stl/css :textarea)
|
||||
:wrap "off"
|
||||
:rows 7
|
||||
:read-only true
|
||||
:value (dm/str
|
||||
"{\n"
|
||||
" \"mcpServers\": {\n"
|
||||
" \"penpot\": {\n"
|
||||
" \"url\": \"" cf/mcp-server-url "?userToken=" (:token token-created "") "\"\n"
|
||||
" }\n"
|
||||
" }"
|
||||
"\n}")}]])
|
||||
|
||||
[:div {:class (stl/css :modal-footer)}
|
||||
[:> button* {:variant "secondary"
|
||||
:on-click modal/hide!}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user