add openaireEntities and update submodule repo

angular-12
Alex Martzios 2 years ago
parent 74ce69909f
commit 0a160b4f54

@ -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);
}

@ -1 +1 @@
Subproject commit 4ce80019e7a6bdf0dfc22eb1cf31c8e9948d7756
Subproject commit a0ff8d03c3880a8f62c09a6671c34f3ebd860c44
Loading…
Cancel
Save