[Trunk | Library]: newSearchPage.component.html: Add one more check for showing filters correctly (add filter only when values are more than 0).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59785 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
e72a0fffdd
commit
9367777fb0
|
@ -132,7 +132,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngFor="let filter of filters ">
|
<ng-container *ngFor="let filter of filters ">
|
||||||
<li *ngIf="filter.values && filter.filterId != 'resultbestaccessright'">
|
<li *ngIf="filter.values && filter.values.length > 0 && filter.filterId != 'resultbestaccessright'">
|
||||||
<search-filter [filterValuesNum]="filterValuesNum" [showMoreInline]="showMoreFilterValuesInline"
|
<search-filter [filterValuesNum]="filterValuesNum" [showMoreInline]="showMoreFilterValuesInline"
|
||||||
[isDisabled]="disableForms || disableRefineForms"
|
[isDisabled]="disableForms || disableRefineForms"
|
||||||
[filter]="filter" [showResultCount]=showResultCount
|
[filter]="filter" [showResultCount]=showResultCount
|
||||||
|
|
Loading…
Reference in New Issue