Community home page: Init resultTypes to empty array before adding entities.

This commit is contained in:
Konstantinos Triantafyllou 2023-05-24 12:37:20 +03:00
parent 4060fd9fad
commit bb67b6a668
2 changed files with 2 additions and 1 deletions

View File

@ -312,6 +312,7 @@ export class CommunityComponent {
this.showOrp = !!showEntity["orp"];
this.showProjects = !!showEntity["project"];
this.showDataProviders = !!showEntity["datasource"];
this.resultTypes.values = [];
if (this.showPublications) {
this.resultTypes.values.push({
name: this.openaireEntities.PUBLICATIONS,

@ -1 +1 @@
Subproject commit 73f2215c07e4188bc762088c761ea312f076a2a6
Subproject commit 2b83920bc46f634921aeae2d7a05e49608047cb7