mirror of
https://github.com/penpot/penpot.git
synced 2026-09-18 09:56:15 +00:00
🐛 Fix mcp menu incorrect state when key has not expiration (#10211)
This commit is contained in:
parent
09db565bc2
commit
d5e6ea7572
@ -798,7 +798,7 @@
|
|||||||
mcp-connection (get mcp :connection-status)
|
mcp-connection (get mcp :connection-status)
|
||||||
mcp-connected? (= mcp-connection "connected")
|
mcp-connected? (= mcp-connection "connected")
|
||||||
|
|
||||||
show-enabled? (and mcp-enabled? (false? mcp-key-expired?))
|
show-enabled? (and mcp-enabled? (not mcp-key-expired?))
|
||||||
|
|
||||||
on-nav-to-integrations
|
on-nav-to-integrations
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user