[Trunk | Graph]: app.component.html & navigationBar.component.ts: Change "portal" parameter in <navbar> to "graph" (app) and include "graph" in portal checking to initialize (navigationBar).

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59519 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2020-10-08 14:12:12 +00:00
parent 4467b01559
commit c3a87883d9
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export class NavigationBarComponent {
}
initialize() {
if((['explore','connect','monitor','provide','develop', 'usage-counts']).indexOf(this.portal)!=-1){
if((['explore','connect','monitor','provide','develop', 'usage-counts', 'graph']).indexOf(this.portal)!=-1){
this.header = { route: "/", url: null, title: this.portal, logoUrl: this.logoPath + 'logo-large-' + this.portal + '.png', logoSmallUrl:this.logoPath + 'logo-small-' + this.portal + '.png', position:'left', badge:true };
}else if(this.community){
this.header = { route: (this.homeurl?"/":null), url: (!this.homeurl?'https://'+(this.properties.environment =='beta'?'beta.':'')+this.community.id+'.openaire.eu':null), title: this.community.name, logoUrl: this.community.logoUrl, logoSmallUrl:this.community.logoUrl, position:'left', badge:true };