add orp in statistics entities

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53561 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2018-10-26 11:36:42 +00:00
parent c158b24acf
commit e1434921d3
2 changed files with 6 additions and 3 deletions

View File

@ -18,13 +18,15 @@ export const availableNumbers = [
export const availableEntities = [
'publication',
'dataset',
'software'
'software',
'orp',
];
export const availableEntitiesMap = new Map([
['publication', 'Publications'],
['dataset', 'Research Data'],
['software', 'Software']
['software', 'Software'],
['orp', 'Other Research products'],
]);
export class DisplayStatsOptions {
@ -62,4 +64,4 @@ export class StatisticsSummary {
software: StatisticsNumbers;
total_projects: number;
virtual_organizations: number;
}
}

View File

@ -21,6 +21,7 @@ export class EnvironmentSpecificService {
private serverUrl = "http://scoobydoo.di.uoa.gr:4000";
// private serverUrl = "https://beta.explore.openaire.eu";
// private serverUrl = "https://beta.connect.openaire.eu";
// private serverUrl = "https://beta.admin.connect.openaire.eu";
constructor(private http: Http, @Inject(PLATFORM_ID) private platformId: string) {
this.testBrowser = isPlatformBrowser(platformId);
if (this.testBrowser) {