[Library|Trunk]

NavigationBar: remove unused variables, use header url and route for the beta indicator


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59999 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-12-01 11:16:24 +00:00
parent 26db1ae453
commit 074cb003e0
2 changed files with 1 additions and 8 deletions

View File

@ -1,7 +1,7 @@
<div *ngIf="showMenu">
<div *ngIf="(properties.environment =='beta' || properties.environment =='development') && showLogo && header.badge"
class="uk-visible@m">
<a [routerLink]="logoRoute" [href]="logoUrl"><img class="large-beta-indication"
<a [routerLink]="header.route" [href]="header.url"><img class="large-beta-indication"
[src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
alt="BETA">
</a>

View File

@ -45,13 +45,6 @@ export class NavigationBarComponent implements OnInit, OnDestroy{
@Input() showLogo: boolean = true;
@Input() offCanvasFlip: boolean = false;
keyword: string = '';
logosrc: string = '';
logoUrl: string;
logoRoute: string;
logoName: string;
public isAuthorized: boolean = false;
subs: Subscription[] = [];