[Trunk|Library]

userMini.component: add menu divider above logout, only when there are more menu items


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55373 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-04-16 10:37:31 +00:00
parent 992a245ed0
commit 117196d176
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ import{EnvProperties} from '../utils/properties/env-properties';
<a *ngIf="item.route.length == 0 && item.url.length > 0" href="{{item.url}}" target="_blank" >{{item.title}}</a>
</li>
</ng-container>
<li class="uk-nav-divider"></li>
<li *ngIf="userMenuItems.length > 0" class="uk-nav-divider"></li>
<li><a (click)="logOut()" id="logout" >Log out</a></li>
</ul>
</div>
@ -62,7 +62,7 @@ import{EnvProperties} from '../utils/properties/env-properties';
<a *ngIf="item.route.length == 0 && item.url.length > 0" href="{{item.url}}" >{{item.title}}</a>
</li>
</ng-container>
<li class="uk-nav-divider"></li>
<li *ngIf="userMenuItems.length > 0" class="uk-nav-divider"></li>
<li><a (click)="logOut()" id="logout" >Log out</a></li>
</ul>
</li>