Skip to content

A platform for community discussion. Free, open, simple.

DEV: correctly position below-direct-chat-channels (#28283)

Joffrey JAFFEUX7d316922e791
diff --git a/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs b/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs
index 8a0a5bcb93a..2b97adb5ed3 100644
--- a/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs
@@ -57,11 +57,6 @@ export default class ChannelsListDirect extends Component {
}
<template>
- <PluginOutlet
- @name="below-direct-chat-channels"
- @tagName=""
- @outletArgs={{hash inSidebar=this.inSidebar}}
- />
{{#if
(and
this.showDirectMessageChannels
@@ -127,5 +122,11 @@ export default class ChannelsListDirect extends Component {
{{/each}}
{{/if}}
</div>
+
+ <PluginOutlet
+ @name="below-direct-chat-channels"
+ @tagName=""
+ @outletArgs={{hash inSidebar=this.inSidebar}}
+ />
</template>
}