From 0132088f8ba6abd12e228143c91b32b5d878002c Mon Sep 17 00:00:00 2001 From: Alex ORLUC <alex.orluc@maarch.org> Date: Fri, 21 Dec 2018 19:02:59 +0100 Subject: [PATCH] fix order icon resultlist v2 --- src/frontend/app/list/filters/filters-tool.component.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/app/list/filters/filters-tool.component.html b/src/frontend/app/list/filters/filters-tool.component.html index 9138f8585df..ca46c069d55 100644 --- a/src/frontend/app/list/filters/filters-tool.component.html +++ b/src/frontend/app/list/filters/filters-tool.component.html @@ -13,10 +13,10 @@ </mat-option> </mat-select> </mat-form-field> - <button [disabled]="this.listProperties.order == ''" mat-icon-button title="{{lang.descOrder}}" style="color: rgba(0,0,0,0.38);" + <button [disabled]="this.listProperties.order == ''" mat-icon-button [title]="this.listProperties.orderDir == 'DESC' ? lang.descOrder : lang.ascOrder" style="color: rgba(0,0,0,0.38);" (click)="changeOrderDir();"> - <mat-icon *ngIf="this.listProperties.orderDir == 'DESC'" fontSet="fas" fontIcon="fa-sort-amount-up fa-2x"></mat-icon> - <mat-icon *ngIf="this.listProperties.orderDir == 'ASC'" fontSet="fas" fontIcon="fa-sort-amount-down fa-2x"></mat-icon> + <mat-icon *ngIf="this.listProperties.orderDir == 'DESC'" fontSet="fas" fontIcon="fa-sort-amount-down fa-2x"></mat-icon> + <mat-icon *ngIf="this.listProperties.orderDir == 'ASC'" fontSet="fas" fontIcon="fa-sort-amount-up fa-2x"></mat-icon> </button> <button mat-icon-button [matMenuTriggerFor]="menuParamList"> <mat-icon color="primary" fontSet="fas" fontIcon="fa-cog fa-2x"></mat-icon> -- GitLab