mirror of
https://github.com/penpot/penpot.git
synced 2026-05-06 16:48:48 +00:00
🐛 Fix swapped analytics event names on MCP tab-switch dialog (#9322)
This commit is contained in:
parent
aa8f2ab80d
commit
f4317d00e5
@ -185,11 +185,11 @@
|
||||
{:content (tr "notifications.mcp.active-in-another-tab")
|
||||
:cancel {:label (tr "labels.dismiss")
|
||||
:callback #(st/emit! (ntf/hide)
|
||||
(ev/event {::ev/name "confirm-mcp-tab-switch"
|
||||
(ev/event {::ev/name "dismiss-mcp-tab-switch"
|
||||
::ev/origin "workspace-notification"}))}
|
||||
:accept {:label (tr "labels.switch")
|
||||
:callback #(st/emit! (connect-mcp)
|
||||
(ev/event {::ev/name "dismiss-mcp-tab-switch"
|
||||
(ev/event {::ev/name "confirm-mcp-tab-switch"
|
||||
::ev/origin "workspace-notification"}))}})))
|
||||
(rx/of (ntf/hide)))))))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user