From 49a49ba3586bcf5022ce0789e756876b01abda2b Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 11 Aug 2020 12:28:23 +0000 Subject: [PATCH] [Admin | Trunk]: Change affiliation functions git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@59247 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/pages/affiliations/affiliations.component.ts | 2 +- src/app/pages/wellcome/wellcome.component.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/pages/affiliations/affiliations.component.ts b/src/app/pages/affiliations/affiliations.component.ts index 5ccfbbd..56b343d 100644 --- a/src/app/pages/affiliations/affiliations.component.ts +++ b/src/app/pages/affiliations/affiliations.component.ts @@ -79,7 +79,7 @@ export class AffiliationsComponent implements OnInit { } getAffiliations() { - this.affiliationService.initAffiliations(this.properties, this.properties.communityAPI + this.communityId + "/organizations"); + this.affiliationService.initAffiliations(this.communityId); this.affiliationService.affiliations.subscribe( affiliations => { this.affiliations = affiliations; diff --git a/src/app/pages/wellcome/wellcome.component.ts b/src/app/pages/wellcome/wellcome.component.ts index ba2bdcc..f508cae 100644 --- a/src/app/pages/wellcome/wellcome.component.ts +++ b/src/app/pages/wellcome/wellcome.component.ts @@ -104,7 +104,6 @@ export class WellcomeComponent implements OnInit { this.propertiesService.setEnvProperties(es); this.properties = this.propertiesService.envSpecific; HelperFunctions.scroll(); - let count = 0; this.userManagementService.getUserInfo().subscribe(user => { this.user = user; this._communitiesService.getCommunitiesState().subscribe(