diff --git a/src/core/features/mainmenu/components/user-menu/user-menu.html b/src/core/features/mainmenu/components/user-menu/user-menu.html index 3932978ae..d6e138a39 100644 --- a/src/core/features/mainmenu/components/user-menu/user-menu.html +++ b/src/core/features/mainmenu/components/user-menu/user-menu.html @@ -13,59 +13,61 @@ - - - - - - - - - - {{ siteUrl }} - - - - - - {{ siteInfo.fullname }} - - + + + + + + + + + + + {{ siteUrl }} + + + + + + {{ siteInfo.fullname }} + + - - - - - + + + + + - - - - {{ handler.title | translate }} - - - {{handler.badge}} - - - {{ handler.badgeA11yText | translate: {$a : handler.badge } }} - - - - + + + + {{ handler.title | translate }} + + + {{handler.badge}} + + + {{ handler.badgeA11yText | translate: {$a : handler.badge } }} + + + + - - - - {{ 'core.settings.preferences' | translate }} - - - + + + + {{ 'core.settings.preferences' | translate }} + + + + diff --git a/src/core/features/mainmenu/components/user-menu/user-menu.ts b/src/core/features/mainmenu/components/user-menu/user-menu.ts index 87cd958f9..c84bc642a 100644 --- a/src/core/features/mainmenu/components/user-menu/user-menu.ts +++ b/src/core/features/mainmenu/components/user-menu/user-menu.ts @@ -49,7 +49,6 @@ export class CoreMainMenuUserMenuComponent implements OnInit, OnDestroy { siteUrl?: string; handlers: CoreUserProfileHandlerData[] = []; handlersLoaded = false; - loaded = false; user?: CoreUserProfile; displaySwitchAccount = true; removeAccountOnLogout = false; @@ -68,8 +67,6 @@ export class CoreMainMenuUserMenuComponent implements OnInit, OnDestroy { this.displaySwitchAccount = !currentSite.isFeatureDisabled('NoDelegate_SwitchAccount'); this.removeAccountOnLogout = !!CoreConstants.CONFIG.removeaccountonlogout; - this.loaded = true; - this.loadSiteLogo(currentSite); // Load the handlers.
- - -
+ + +
{{ handler.title | translate }}
{{ 'core.settings.preferences' | translate }}