🐛 Fix swapped analytics event names on MCP tab-switch dialog (#9322)

This commit is contained in:
Dexterity 2026-05-06 11:40:39 -04:00 committed by GitHub
parent aa8f2ab80d
commit f4317d00e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)))))))