fix in userMini

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50595 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2018-02-06 09:20:03 +00:00
parent c43c57834c
commit f3d4b06b66
1 changed files with 3 additions and 3 deletions

View File

@ -31,8 +31,8 @@ import{EnvProperties} from '../utils/properties/env-properties';
<li *ngIf="isAuthorized"><a routerLinkActive="uk-link" routerLink="/claims">Manage all Claims</a></li-->
<ng-container *ngFor="let item of userMenuItems ">
<li *ngIf="item.needsAuthorization && isAuthorized || !item.needsAuthorization">
<a *ngIf="item.route.length > 0" routerLinkActive="uk-link" routerLink="{{item.route}}" [queryParams]=submenu.params >{{item.title}}</a>
<a *ngIf="item.route.length == 0 && item.url.length > 0" routerLinkActive="uk-link" href="{{submenu.url}}" >{{item.title}}</a>
<a *ngIf="item.route.length > 0" routerLinkActive="uk-link" routerLink="{{item.route}}" [queryParams]=item.params >{{item.title}}</a>
<a *ngIf="item.route.length == 0 && item.url.length > 0" routerLinkActive="uk-link" href="{{item.url}}" >{{item.title}}</a>
</li>
</ng-container>
<li><a (click)="logOut()" id="logout" >Log out</a></li>
@ -60,7 +60,7 @@ import{EnvProperties} from '../utils/properties/env-properties';
<ng-container *ngFor="let item of userMenuItems ">
<li *ngIf="item.needsAuthorization && isAuthorized || !item.needsAuthorization">
<a *ngIf="item.route.length > 0" routerLinkActive="uk-link" routerLink="{{item.route}}" >{{item.title}}</a>
<a *ngIf="item.route.length == 0 && item.url.length > 0"routerLinkActive="uk-link" href="{{submenu.url}}" >{{item.title}}</a>
<a *ngIf="item.route.length == 0 && item.url.length > 0"routerLinkActive="uk-link" href="{{item.url}}" >{{item.title}}</a>
</li>
</ng-container>
<li><a (click)="logOut()" id="logout" >Log out</a></li>