Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop

This commit is contained in:
argirok 2024-02-14 10:46:29 +02:00
commit c50c3e2ad6
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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