diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts index 1e77269..9dcb3c2 100644 --- a/src/app/home/home.component.ts +++ b/src/app/home/home.component.ts @@ -249,7 +249,7 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit, IDeactiv public getStakeholders() { this.loading = true; this.status = this.errorCodes.LOADING; - this.subscriptions.push(this._stakeholderService.getStakeholders(this.properties.monitorServiceAPIURL).subscribe( + this.subscriptions.push(this._stakeholderService.getStakeholders().subscribe( stakeholders => { if (!stakeholders || stakeholders.length == 0) { this.status = this.errorCodes.NONE; diff --git a/src/app/my-stakeholders/my-stakeholders.component.ts b/src/app/my-stakeholders/my-stakeholders.component.ts index d6937b6..ff7c788 100644 --- a/src/app/my-stakeholders/my-stakeholders.component.ts +++ b/src/app/my-stakeholders/my-stakeholders.component.ts @@ -101,7 +101,7 @@ export class MyStakeholdersComponent { this.status = this.errorCodes.LOADING; this.subscriberErrorMessage = ""; this.stakeholders = []; - this.subscriptions.push(this.stakeholderService.getMyStakeholders(properties.monitorServiceAPIURL).subscribe( + this.subscriptions.push(this.stakeholderService.getMyStakeholders().subscribe( stakeholders => { this.stakeholders = StakeholderInfo.toStakeholderInfo(stakeholders.standalone.concat(stakeholders.umbrella), this.user); this.sort(this.stakeholders); diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index f4b9104..cd782d4 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit f4b9104ae17c8d6df0371c6bf01393528c491299 +Subproject commit cd782d4a68a67dcba4d5d1bbce7ee737ad1f3871 diff --git a/src/app/search-stakeholders/search-stakeholders.component.ts b/src/app/search-stakeholders/search-stakeholders.component.ts index ec636b8..6fc5740 100644 --- a/src/app/search-stakeholders/search-stakeholders.component.ts +++ b/src/app/search-stakeholders/search-stakeholders.component.ts @@ -136,7 +136,7 @@ export class SearchStakeholdersComponent { this.totalResults = StakeholderInfo.toStakeholderInfo(this.totalResults, this.user); this._getResults(params); } else { - this.subscriptions.push(this._stakeholderService.getStakeholders(this.properties.monitorServiceAPIURL).subscribe( + this.subscriptions.push(this._stakeholderService.getStakeholders().subscribe( data => { this.totalResults = StakeholderInfo.toStakeholderInfo(data, this.user); this._getResults(params);