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(