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:
Joffrey JAFFEUX
2024-05-22 23:38:12 +02:00
committed by GitHub
parent 4553bb1717
commit 22237e4407

View File

@ -32,7 +32,7 @@ export default class ChatChannelThread extends DiscourseRoute {
return;
}
this.chat.activeChannel.activeThread = thread;
channel.activeThread = thread;
}
@action