Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #11 from heloufir/master
Browse files Browse the repository at this point in the history
#9 Add hasRole() restriction to nav-item-header element
  • Loading branch information
heloufir authored Apr 8, 2019
2 parents 9c884de + 767d942 commit b894d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front-end/src/app/main/sidebar/sidebar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<span class="menu-title">{{ 'SIDE_BAR.MENU.DASHBOARD' | translate }}</span>
</a>
</li>
<li class="nav-item nav-item-header">
<li class="nav-item nav-item-header" *ngIf="hasRole('ROLE_USERS') || hasRole('ROLE_PROFILES') || hasRole('ROLE_ROLES')">
<span class="menu-title">{{ 'SIDE_BAR.MENU.SECURITY' | translate }}</span>
</li>
<li class="nav-item">
Expand Down

0 comments on commit b894d07

Please sign in to comment.