Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6857e0 commit c10cf8dCopy full SHA for c10cf8d
themes/horizon/javascripts/discourse/components/sidebar-new-topic-button.gjs
@@ -25,7 +25,7 @@ export default class SidebarNewTopicButton extends Component {
25
get shouldRender() {
26
return (
27
this.currentUser &&
28
- !this.router.currentRouteName.includes("admin") &&
+ !this.router.currentURL.startsWith("/admin") &&
29
this.application.sidebarEnabled
30
);
31
}
0 commit comments