KEYCLOAK-7513 Minor changes to vertical nav (#5244)

This commit is contained in:
Stan Silvert 2018-06-06 14:39:00 -04:00 committed by GitHub
parent 7ff18ca14b
commit b7fb3ec9a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 10 deletions

View file

@ -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">

View file

@ -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);
}
}
}