From c3a87883d931c635fc50e06b7f86c0ce354c0e5f Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 8 Oct 2020 14:12:12 +0000 Subject: [PATCH] [Trunk | Graph]: app.component.html & navigationBar.component.ts: Change "portal" parameter in 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 --- sharedComponents/navigationBar.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharedComponents/navigationBar.component.ts b/sharedComponents/navigationBar.component.ts index 523c3893..790d3f25 100644 --- a/sharedComponents/navigationBar.component.ts +++ b/sharedComponents/navigationBar.component.ts @@ -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 };