Revision 50942
Added by Sofia Baltzi over 6 years ago
modules/uoa-connect-portal/trunk/src/app/community/community.component.ts | ||
---|---|---|
70 | 70 |
this._communityService.getNumberOfPublications().subscribe( |
71 | 71 |
publicationTotal => { |
72 | 72 |
this.publicationTotal = publicationTotal; |
73 |
//console.log(publications); |
|
74 | 73 |
}); |
75 | 74 |
|
76 | 75 |
this._communityService.getNumberOfResearchData().subscribe( |
modules/uoa-connect-portal/trunk/src/app/communities/communities.service.ts | ||
---|---|---|
2 | 2 |
import { Http, Response, Headers, RequestOptions } from '@angular/http'; |
3 | 3 |
import { Observable } from 'rxjs/Rx'; |
4 | 4 |
|
5 |
import { CommunityInfo } from './communityInfo'; |
|
5 |
import { CommunityInfo } from '../utils/communityInfo';
|
|
6 | 6 |
|
7 | 7 |
@Injectable() |
8 | 8 |
export class CommunitiesService { |
Also available in: Unified diff
Change communityInfo path