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

This change fixes a minor regression in the chat back button navigation.
This commit is contained in:
David Battersby 2023-12-28 15:02:33 +08:00 committed by GitHub
parent d5e1b3e683
commit 3d4b62651e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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