mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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 (
|
return (
|
||||||
this.args.channel.threadingEnabled &&
|
this.args.channel.threadingEnabled &&
|
||||||
this.router.currentRoute.name !== "chat.channel.threads" &&
|
this.router.currentRoute.name !== "chat.channel.threads" &&
|
||||||
|
this.router.currentRoute.name !== "chat.channel.thread.index" &&
|
||||||
this.router.currentRoute.name !== "chat.channel.thread"
|
this.router.currentRoute.name !== "chat.channel.thread"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user