Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop
This commit is contained in:
commit
c50c3e2ad6
|
@ -57,7 +57,7 @@ export class SearchDataProvidersComponent {
|
|||
@Input()
|
||||
set customFilter(customFilter: SearchCustomFilter | SearchCustomFilter[]) {
|
||||
if(!Array.isArray(customFilter)) {
|
||||
this.customFilters = [customFilter];
|
||||
this.customFilters = customFilter?[customFilter]:null;
|
||||
}else{
|
||||
this.customFilters = customFilter;
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ export class SearchOrganizationsComponent {
|
|||
@Input()
|
||||
set customFilter(customFilter: SearchCustomFilter | SearchCustomFilter[]) {
|
||||
if(!Array.isArray(customFilter)) {
|
||||
this.customFilters = [customFilter];
|
||||
this.customFilters = customFilter?[customFilter]:null;
|
||||
}else{
|
||||
this.customFilters = customFilter;
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ export class SearchProjectsComponent {
|
|||
@Input()
|
||||
set customFilter(customFilter: SearchCustomFilter | SearchCustomFilter[]) {
|
||||
if(!Array.isArray(customFilter)) {
|
||||
this.customFilters = [customFilter];
|
||||
this.customFilters = customFilter?[customFilter]:null;
|
||||
}else{
|
||||
this.customFilters = customFilter;
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ export class SearchResearchResultsComponent {
|
|||
@Input()
|
||||
set customFilter(customFilter: SearchCustomFilter | SearchCustomFilter[]) {
|
||||
if(!Array.isArray(customFilter)) {
|
||||
this.customFilters = [customFilter];
|
||||
this.customFilters = customFilter?[customFilter]:null;
|
||||
}else{
|
||||
this.customFilters = customFilter;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue