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:
parent
683032fcce
commit
f25388428e
|
@ -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"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue