Skip to content

A platform for community discussion. Free, open, simple.

FIX: ensures threads list button is not showing (#23895)

Joffrey JAFFEUXf25388428ef8
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-full-page-header.js b/plugins/chat/assets/javascripts/discourse/components/chat-full-page-header.js
index a3d991aec62..aad1dd7935f 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-full-page-header.js
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-full-page-header.js
@@ -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"
);
}