|
|
|
@ -259,16 +259,16 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit{
|
|
|
|
|
this.showDataProviders = !!showEntity["datasource"];
|
|
|
|
|
this.showOrganizations = !!showEntity["organization"];
|
|
|
|
|
if (this.showPublications) {
|
|
|
|
|
this.resultTypes.values.push({name: "Publications", id: "publications", selected: false, number: 0});
|
|
|
|
|
this.resultTypes.values.push({name: this.openaireEntities.PUBLICATIONS, id: "publications", selected: false, number: 0});
|
|
|
|
|
}
|
|
|
|
|
if (this.showDatasets) {
|
|
|
|
|
this.resultTypes.values.push({name: "Research data", id: "datasets", selected: false, number: 0});
|
|
|
|
|
this.resultTypes.values.push({name: this.openaireEntities.DATASETS, id: "datasets", selected: false, number: 0});
|
|
|
|
|
}
|
|
|
|
|
if (this.showSoftware) {
|
|
|
|
|
this.resultTypes.values.push({name: "Software", id: "software", selected: false, number: 0});
|
|
|
|
|
this.resultTypes.values.push({name: this.openaireEntities.SOFTWARE, id: "software", selected: false, number: 0});
|
|
|
|
|
}
|
|
|
|
|
if (this.showOrp) {
|
|
|
|
|
this.resultTypes.values.push({name: "Other research products", id: "other", selected: false, number: 0});
|
|
|
|
|
this.resultTypes.values.push({name: this.openaireEntities.OTHER, id: "other", selected: false, number: 0});
|
|
|
|
|
}
|
|
|
|
|
this.init(this.showDatasets, this.showSoftware, this.showPublications, this.showDatasets, this.showSoftware, this.showOrp, this.showProjects, this.showDataProviders, this.showOrganizations);
|
|
|
|
|
}
|
|
|
|
|