[trunk]: Library: Content Provider Landing page: Remove 'Metrics' tab from 'entityregistry', 'entityregistry::projects', 'entityregistry::repositories' types

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54824 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2019-02-15 12:42:40 +00:00
parent f980a6cbe3
commit 52f5134b86
2 changed files with 12 additions and 12 deletions

View File

@ -135,8 +135,10 @@ export class DataProviderService {
this.dataProviderInfo.tabs2.push("Other Research Products");
}
if(this.dataProviderInfo.tabsInTypes.metricsTab.has(data[1].classid)) {
this.dataProviderInfo.tabs.push({"name": "Metrics", "content": "metricsTab"});
this.dataProviderInfo.tabs2.push("Metrics");
}
if(this.dataProviderInfo.resultTypes.collectedFrom.has(data[1].classid)) {
this.dataProviderInfo.resultsBy = "collectedFrom";

View File

@ -110,9 +110,7 @@ export class DataProviderInfo {
"softwarerepository",
"aggregator::softwarerepository",
"orprepository"
])
/*
,
]),
"metricsTab": new Set<string>(
[ "aggregator::datarepository",
"aggregator::pubsrepository::institutional",
@ -120,19 +118,19 @@ export class DataProviderInfo {
"aggregator::pubsrepository::journals",
"crissystem",
"datarepository::unknown",
"infospace",
"pubsrepository::institutional",
"pubsrepository::journal",
"websource",
"pubsrepository::unknown",
"scholarcomminfra",
"pubsrepository::thematic",
"pubscatalogue::unknown",
"infospace",
"scholarcomminfra",
"entityregistry",
"entityregistry::projects",
"entityregistry::repositories"
"softwarerepository",
"aggregator::softwarerepository",
"orprepository"
])
*/
};
resultsBy: string;