diff --git a/src/app/community/community.component.html b/src/app/community/community.component.html index d990507..dc4df8f 100644 --- a/src/app/community/community.component.html +++ b/src/app/community/community.component.html @@ -29,7 +29,6 @@
-

{{researchDataTotal}}

@@ -38,7 +37,6 @@
-
+
diff --git a/src/app/community/community.service.ts b/src/app/community/community.service.ts index 8136c62..e23ef0f 100644 --- a/src/app/community/community.service.ts +++ b/src/app/community/community.service.ts @@ -18,6 +18,12 @@ export class CommunityService { .map(res => res.json()).map(res => res.total).do(res => {console.log(res)}); } + // getTotal() + // + // countResults(url:string): string { + // + // } + getResults(url: string) { return this.http.get(url).map(res => res.json()).map(res => this.parseResults(res['results'])); } diff --git a/src/app/utils/communityInfo.ts b/src/app/utils/communityInfo.ts index f97f44b..30609fd 100644 --- a/src/app/utils/communityInfo.ts +++ b/src/app/utils/communityInfo.ts @@ -5,4 +5,5 @@ export class CommunityInfo { queryId: string; logoUrl: string; description: string; + managers: string[]; }