KEYCLOAK-7513 Minor changes to vertical nav (#5244)
This commit is contained in:
parent
7ff18ca14b
commit
b7fb3ec9a9
2 changed files with 4 additions and 10 deletions
|
@ -5,11 +5,10 @@
|
|||
[contentContainer]="contentContainer"
|
||||
[items]="navigationItems"
|
||||
[persistentSecondary]="false"
|
||||
[pinnableMenus]="true"
|
||||
[pinnableMenus]="false"
|
||||
[showBadges]="true"
|
||||
[showIcons]="true"
|
||||
[updateActiveItemsOnClick]="true"
|
||||
(onItemClickEvent)="onItemClicked($event)">
|
||||
[updateActiveItemsOnClick]="true">
|
||||
|
||||
<div>
|
||||
<ul class="nav navbar-nav navbar-right navbar-iconic">
|
||||
|
@ -38,7 +37,7 @@
|
|||
|
||||
|
||||
<div #contentContainer
|
||||
class="container-fluid container-cards-pf container-pf-nav-pf-vertical example-page-container nav-pf-vertical-with-badges"
|
||||
class="container-fluid container-cards-pf container-pf-nav-pf-vertical example-page-container"
|
||||
style="background-color: white;">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
|
|
|
@ -34,7 +34,7 @@ export class VerticalNavComponent implements OnInit {
|
|||
this.navigationItems = [
|
||||
{
|
||||
title: this.translateUtil.translate('personalInfoHtmlTitle'),
|
||||
iconStyleClass: 'pficon pficon-user',
|
||||
iconStyleClass: 'fa fa-user-circle',
|
||||
url: 'account',
|
||||
mobileItem: false
|
||||
},
|
||||
|
@ -89,9 +89,4 @@ export class VerticalNavComponent implements OnInit {
|
|||
this.keycloakService.login({kcLocale: newLocale});
|
||||
}
|
||||
|
||||
onItemClicked($event: NavigationItemConfig): void {
|
||||
if (this.pfVerticalNav.hoverSecondaryNav) {
|
||||
this.pfVerticalNav.collapseSecondaryNav($event);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue