[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:
parent
f980a6cbe3
commit
52f5134b86
|
@ -135,8 +135,10 @@ export class DataProviderService {
|
||||||
this.dataProviderInfo.tabs2.push("Other Research Products");
|
this.dataProviderInfo.tabs2.push("Other Research Products");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.dataProviderInfo.tabs.push({"name": "Metrics", "content": "metricsTab"});
|
if(this.dataProviderInfo.tabsInTypes.metricsTab.has(data[1].classid)) {
|
||||||
this.dataProviderInfo.tabs2.push("Metrics");
|
this.dataProviderInfo.tabs.push({"name": "Metrics", "content": "metricsTab"});
|
||||||
|
this.dataProviderInfo.tabs2.push("Metrics");
|
||||||
|
}
|
||||||
|
|
||||||
if(this.dataProviderInfo.resultTypes.collectedFrom.has(data[1].classid)) {
|
if(this.dataProviderInfo.resultTypes.collectedFrom.has(data[1].classid)) {
|
||||||
this.dataProviderInfo.resultsBy = "collectedFrom";
|
this.dataProviderInfo.resultsBy = "collectedFrom";
|
||||||
|
|
|
@ -110,9 +110,7 @@ export class DataProviderInfo {
|
||||||
"softwarerepository",
|
"softwarerepository",
|
||||||
"aggregator::softwarerepository",
|
"aggregator::softwarerepository",
|
||||||
"orprepository"
|
"orprepository"
|
||||||
])
|
]),
|
||||||
/*
|
|
||||||
,
|
|
||||||
"metricsTab": new Set<string>(
|
"metricsTab": new Set<string>(
|
||||||
[ "aggregator::datarepository",
|
[ "aggregator::datarepository",
|
||||||
"aggregator::pubsrepository::institutional",
|
"aggregator::pubsrepository::institutional",
|
||||||
|
@ -120,19 +118,19 @@ export class DataProviderInfo {
|
||||||
"aggregator::pubsrepository::journals",
|
"aggregator::pubsrepository::journals",
|
||||||
"crissystem",
|
"crissystem",
|
||||||
"datarepository::unknown",
|
"datarepository::unknown",
|
||||||
|
"infospace",
|
||||||
"pubsrepository::institutional",
|
"pubsrepository::institutional",
|
||||||
"pubsrepository::journal",
|
"pubsrepository::journal",
|
||||||
|
"websource",
|
||||||
"pubsrepository::unknown",
|
"pubsrepository::unknown",
|
||||||
|
"scholarcomminfra",
|
||||||
"pubsrepository::thematic",
|
"pubsrepository::thematic",
|
||||||
"pubscatalogue::unknown",
|
"pubscatalogue::unknown",
|
||||||
|
"softwarerepository",
|
||||||
"infospace",
|
"aggregator::softwarerepository",
|
||||||
"scholarcomminfra",
|
"orprepository"
|
||||||
"entityregistry",
|
|
||||||
"entityregistry::projects",
|
|
||||||
"entityregistry::repositories"
|
|
||||||
])
|
])
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
|
|
||||||
resultsBy: string;
|
resultsBy: string;
|
||||||
|
|
Loading…
Reference in New Issue