Skip to content

Commit 44480cb

Browse files
VictorHugoDuranStdonohue
authored andcommitted
Fix - hide search text field in the filter section if the number of facet values does not exceed the maximum number of facet values shown
1 parent 906b2f5 commit 44480cb

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/app/shared/search/search-filters/search-filter/search-authority-filter/search-authority-filter.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@
2626
(submitSuggestion)="onSubmit($event)"
2727
(clickSuggestion)="onClick($event)"
2828
(findSuggestions)="findSuggestions($event)"
29+
*ngIf="!(isAvailableForShowSearchText | async)"
2930
ngDefaultControl></ds-filter-input-suggestions>
3031
</div>

src/app/shared/search/search-filters/search-filter/search-hierarchy-filter/search-hierarchy-filter.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
(submitSuggestion)="onSubmit($event)"
2727
(clickSuggestion)="onClick($event)"
2828
(findSuggestions)="findSuggestions($event)"
29+
*ngIf="!(isAvailableForShowSearchText | async)"
2930
ngDefaultControl
3031
></ds-filter-input-suggestions>
3132
</div>

0 commit comments

Comments
 (0)