Revision 56294
Added by Konstantina Galouni almost 5 years ago
help-content.service.ts | ||
---|---|---|
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
getPagesWithDivIds(community_pid: string, helpContentUrl:string) { |
123 |
return this.http.get<Array<string>>(helpContentUrl + 'div/pages') |
|
123 |
let parameters = (community_pid ? "?communityId="+community_pid : ""); |
|
124 |
return this.http.get<Array<string>>(helpContentUrl + 'div/pages'+parameters) |
|
124 | 125 |
//.map(res => <Map<string, Set<string>>> res.json()) |
125 | 126 |
.pipe(catchError(this.handleError)); |
126 | 127 |
} |
Also available in: Unified diff
[Trunk | Admin]:
1. domain/divId.ts & divId-form.component: Add "connect", "communities", "openaire" options
2. help-content.service: "getPagesWithDivIds()" method: Query for specific community when available parameter.