Revision 60814
Added by Argiro Kokogiannaki over 3 years ago
connectHelper.ts | ||
---|---|---|
4 | 4 |
export class ConnectHelper { |
5 | 5 |
|
6 | 6 |
public static getCommunityFromDomain(domain: string): string{ |
7 |
domain = "beta.enermaps.openaire.eu"; //for testing
|
|
7 |
domain = "beta.covid-19.openaire.eu"; //for testing
|
|
8 | 8 |
domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix |
9 | 9 |
if (domain.indexOf('openaire.eu') === -1) { |
10 | 10 |
return null; |
Also available in: Unified diff
[Library|Trunk]
Tabs:
- use CustomClass directive instead of statistics
- update it in landing pages
Enermaps Integration:
- Result LAnding at a new tab with enermaps tool
- Image on the left of the result preview component