From 0a160b4f54362ab53fe0633767229ff68aa1b0a9 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Mon, 23 May 2022 12:53:06 +0300 Subject: [PATCH] add openaireEntities and update submodule repo --- explore/src/app/home/home.component.ts | 8 ++++---- explore/src/app/openaireLibrary | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/explore/src/app/home/home.component.ts b/explore/src/app/home/home.component.ts index 7cf5a3d8..a525db74 100644 --- a/explore/src/app/home/home.component.ts +++ b/explore/src/app/home/home.component.ts @@ -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); } diff --git a/explore/src/app/openaireLibrary b/explore/src/app/openaireLibrary index 4ce80019..a0ff8d03 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 4ce80019e7a6bdf0dfc22eb1cf31c8e9948d7756 +Subproject commit a0ff8d03c3880a8f62c09a6671c34f3ebd860c44