UX: Hide topic button on manage account page (#35721)

This commit is contained in:
Derek Rushforth
2025-11-13 08:40:42 -07:00
committed by GitHub
parent b6857e08d8
commit c10cf8d42f
@@ -25,7 +25,7 @@ export default class SidebarNewTopicButton extends Component {
get shouldRender() {
return (
this.currentUser &&
!this.router.currentRouteName.includes("admin") &&
!this.router.currentURL.startsWith("/admin") &&
this.application.sidebarEnabled
);
}