From ff7716ecfecacb44efbc62c6f21af160983dde2c Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Wed, 5 Jun 2019 14:31:43 +0000 Subject: [PATCH] [Explore|Trunk] pass properties as parameter in services in order to use cache add properties parameter in navbar/bottom and clean up other attributes git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@55999 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/src/app/app.component.ts | 8 +++----- explore/src/app/home/home.component.ts | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts index 8573394c..d954eac0 100644 --- a/explore/src/app/app.component.ts +++ b/explore/src/app/app.component.ts @@ -17,10 +17,8 @@ import {HelperFunctions} from "./openaireLibrary/utils/HelperFunctions.class"; `], template: ` - +
@@ -37,7 +35,7 @@ import {HelperFunctions} from "./openaireLibrary/utils/HelperFunctions.class"; ratio="1"> - + ` diff --git a/explore/src/app/home/home.component.ts b/explore/src/app/home/home.component.ts index a3aff14b..abba9315 100644 --- a/explore/src/app/home/home.component.ts +++ b/explore/src/app/home/home.component.ts @@ -90,7 +90,7 @@ public subPub;public subData;public subProjects;public subOrg; public subDataPr; this.piwiksub = this._piwikService.trackView(this.properties, "OpenAIRE").subscribe(); } - this.config.getCommunityInformation(this.properties.adminToolsAPIURL, this.properties.adminToolsCommunity ).subscribe(data => { + this.config.getCommunityInformation(this.properties, this.properties.adminToolsCommunity ).subscribe(data => { var showEntity = {}; for(var i=0; i< data['entities'].length; i++){