Revision 59305
Added by Konstantina Galouni over 3 years ago
affiliations.component.ts | ||
---|---|---|
62 | 62 |
} |
63 | 63 |
if(this.getAffiliationsFromAPI) { |
64 | 64 |
this.showLoading = true; |
65 |
this.affiliationService.initAffiliations(this.properties, this.properties.communityAPI + this.communityId + "/organizations");
|
|
65 |
this.affiliationService.initAffiliations(this.communityId);
|
|
66 | 66 |
this.affiliationService.affiliations.subscribe( |
67 | 67 |
affiliations => { |
68 | 68 |
this.affiliations = affiliations; |
69 | 69 |
this.showLoading = false; |
70 | 70 |
}, |
71 | 71 |
error => { |
72 |
console.error("Affiliations Component: Error getting affiliations for community with id: "+this.communityId, error);
|
|
72 |
console.error("Affiliations Component: Error getting affiliations for community with id: " + this.communityId, error);
|
|
73 | 73 |
this.showLoading = false; |
74 | 74 |
} |
75 | 75 |
); |
Also available in: Unified diff
[use-UoaAdminToolsLibrary | Connect]: Merge trunk into branch.