A platform for community discussion. Free, open, simple.
DEV: add chat header outlet (#44528)
chapoi7bbb93cbbbea
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel.gjsindex 653a57260d8..25a131db51a 100644--- a/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel.gjs+++ b/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel.gjs@@ -2,6 +2,8 @@ import Component from "@glimmer/component";import { tracked } from "@glimmer/tracking";import { action } from "@ember/object";import { service } from "@ember/service";+import PluginOutlet from "discourse/components/plugin-outlet";+import lazyHash from "discourse/helpers/lazy-hash";import Navbar from "discourse/plugins/chat/discourse/components/chat/navbar";import ChatSidePanel from "discourse/plugins/chat/discourse/components/chat-side-panel";import FullPageChat from "discourse/plugins/chat/discourse/components/full-page-chat";@@ -89,6 +91,10 @@ export default class ChatRoutesChannel extends Component {<a.OpenDrawerButton /><a.PinnedMessagesButton @channel={{@channel}} /><a.ThreadsListButton @channel={{@channel}} />+ <PluginOutlet+ @name="chat-channel-navbar-actions"+ @outletArgs={{lazyHash channel=@channel}}+ /></navbar.Actions></Navbar>