FIX: set active thread on correct channel (#27141)
activeChannel is something we should use less and less as it could not exist, in this case we have the channel right here in the function so there's no reason to reach for `this.chat.activeChannel`.
This commit is contained in:
parent
4553bb1717
commit
22237e4407
|
@ -32,7 +32,7 @@ export default class ChatChannelThread extends DiscourseRoute {
|
|||
return;
|
||||
}
|
||||
|
||||
this.chat.activeChannel.activeThread = thread;
|
||||
channel.activeThread = thread;
|
||||
}
|
||||
|
||||
@action
|
||||
|
|
Loading…
Reference in New Issue