diff --git a/ui/app/components/global-header.js b/ui/app/components/global-header.js index 6ad560d02ac..544f60cf3e4 100644 --- a/ui/app/components/global-header.js +++ b/ui/app/components/global-header.js @@ -18,17 +18,6 @@ export default class GlobalHeader extends Component { 'data-test-global-header' = true; onHamburgerClick() {} - // Show sign-in if: - // - User can't load agent config (meaning ACLs are enabled but they're not signed in) - // - User can load agent config in and ACLs are enabled (meaning ACLs are enabled and they're signed in) - // The excluded case here is if there is both an agent config and ACLs are disabled - get shouldShowProfileNav() { - return ( - !this.system.agent?.get('config') || - this.system.agent?.get('config.ACL.Enabled') === true - ); - } - get labelStyles() { return htmlSafe( ` diff --git a/ui/app/components/profile-navbar-item.hbs b/ui/app/components/profile-navbar-item.hbs index 919d4d6d463..cf63970cc33 100644 --- a/ui/app/components/profile-navbar-item.hbs +++ b/ui/app/components/profile-navbar-item.hbs @@ -15,9 +15,19 @@