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:
Joffrey JAFFEUX 2023-10-11 11:46:00 +02:00 committed by GitHub
parent 683032fcce
commit f25388428e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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"
);
}