mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
FIX: ensures threads list button is not showing (#23895)
We were incorrectly showing it when the the panel is opened.
This commit is contained in:
@ -14,6 +14,7 @@ export default class ChatFullPageHeader extends Component {
|
||||
return (
|
||||
this.args.channel.threadingEnabled &&
|
||||
this.router.currentRoute.name !== "chat.channel.threads" &&
|
||||
this.router.currentRoute.name !== "chat.channel.thread.index" &&
|
||||
this.router.currentRoute.name !== "chat.channel.thread"
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user