diff --git a/assets/javascripts/discourse/components/ai-bot-header-icon.gjs b/assets/javascripts/discourse/components/ai-bot-header-icon.gjs index 05ec384d..4d5546c7 100644 --- a/assets/javascripts/discourse/components/ai-bot-header-icon.gjs +++ b/assets/javascripts/discourse/components/ai-bot-header-icon.gjs @@ -52,7 +52,7 @@ export default class AiBotHeaderIcon extends Component { } if (this.siteSettings.ai_bot_enable_dedicated_ux) { - this.appEvents.trigger("ai-bot:click-header-icon"); + this.appEvents.trigger("discourse-ai:bot-header-icon-clicked"); return this.router.transitionTo("discourse-ai-bot-conversations"); }