diff --git a/app/pages/community/community-edit-form.component.html b/app/pages/community/community-edit-form.component.html index 8a85b34..3e85e1d 100644 --- a/app/pages/community/community-edit-form.component.html +++ b/app/pages/community/community-edit-form.component.html @@ -5,85 +5,7 @@

Description:

Logo:

-
-
- - -
-
- -

Available data providers:

- - - - - - - diff --git a/app/pages/community/community-edit-form.component.ts b/app/pages/community/community-edit-form.component.ts index 27d1727..97cfe72 100644 --- a/app/pages/community/community-edit-form.component.ts +++ b/app/pages/community/community-edit-form.component.ts @@ -20,11 +20,7 @@ export class CommunityEditFormComponent implements OnInit{ ngOnInit(){ - this._helpContentService.getDataProviders().subscribe( - res => { - this.res = res; - console.log(res); - }); + } public get form() { diff --git a/app/services/help-content.service.ts b/app/services/help-content.service.ts index f2415fe..0360bd1 100644 --- a/app/services/help-content.service.ts +++ b/app/services/help-content.service.ts @@ -385,11 +385,6 @@ export class HelpContentService { return Observable.throw(error.json().error || 'Server error'); } - getDataProviders() { - //return this.http.get('https://beta.services.openaire.eu/search/v2/api/datasources?format=json').map(res => res.json()).map(res => res.results).do(res => {console.log(res)}).catch(this.handleError); - return this.http.get('https://beta.services.openaire.eu/search/v2/api/datasources?format=json').map(res => res.json()).map(res => res.results).do(res => {console.log(res)}).catch(this.handleError); - } - getStatistics(community_pid: string) { return this.http.get(this._helpContentUrl + 'statistics/'+community_pid) .map(res => res.json())