mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ADF-3455] Show more/less buttons in Search Radio Component hide when they are not necessary (#3734)
This commit is contained in:
parent
6c748cc24b
commit
6ad37c1ecc
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
<div class="facet-buttons" *ngIf="!options.fitsPage">
|
<div class="facet-buttons" *ngIf="!options.fitsPage">
|
||||||
<button mat-icon-button
|
<button mat-icon-button
|
||||||
[disabled]="!options.canShowLessItems"
|
*ngIf="options.canShowLessItems"
|
||||||
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}"
|
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}"
|
||||||
(click)="options.showLessItems()">
|
(click)="options.showLessItems()">
|
||||||
<mat-icon>keyboard_arrow_up</mat-icon>
|
<mat-icon>keyboard_arrow_up</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<button mat-icon-button
|
<button mat-icon-button
|
||||||
[disabled]="!options.canShowMoreItems"
|
*ngIf="options.canShowMoreItems"
|
||||||
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}"
|
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}"
|
||||||
(click)="options.showMoreItems()">
|
(click)="options.showMoreItems()">
|
||||||
<mat-icon>keyboard_arrow_down</mat-icon>
|
<mat-icon>keyboard_arrow_down</mat-icon>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user