Skip to content

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

FIX: chat drawer routing fix for threads (#25056)

David Battersby3d4b62651ea6
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/drawer-routes/channel-threads.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/drawer-routes/channel-threads.gjs
index fe8152ce41b..7c6e46b20f3 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/drawer-routes/channel-threads.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/drawer-routes/channel-threads.gjs
@@ -45,7 +45,7 @@ export default class ChatDrawerRoutesChannelThreads extends Component {
<navbar.BackButton
@title={{this.backLinkTitle}}
@route="chat.channel"
- @routeModels={{this.chat.activeChannel?.routeModels}}
+ @routeModels={{this.chat.activeChannel.routeModels}}
/>
<navbar.Title @title={{this.title}} @icon="discourse-threads" />
<navbar.Actions as |action|>