Community home page: Init resultTypes to empty array before adding entities.
This commit is contained in:
parent
4060fd9fad
commit
bb67b6a668
|
@ -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
|
Loading…
Reference in New Issue