Skip to content

Commit

Permalink
fix(layer-list-tool) alphaSort icon name tooltip (#700)
Browse files Browse the repository at this point in the history
Co-authored-by: Josée Martel <[email protected]>
  • Loading branch information
2 people authored and Marc-André Barbeau committed Sep 8, 2020
1 parent ba2d240 commit bcb5242
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
</mat-form-field>

<div [matTooltip]="sortAlpha ?
('igo.geo.layer.sortAlphabetically' | translate) :
('igo.geo.layer.sortMapOrder' | translate)" matTooltipShowDelay="500">
('igo.geo.layer.sortMapOrder' | translate) :
('igo.geo.layer.sortAlphabetically' | translate)" matTooltipShowDelay="500">
<button [color]="sortAlpha ? 'warn' : 'primary'" mat-icon-button (click)="toggleSortAlpha()">
<mat-icon [svgIcon]="sortAlpha ? 'sort-variant-remove' : 'sort-alphabetical'"></mat-icon>
<mat-icon [svgIcon]="sortAlpha ? 'sort-variant-remove' : 'sort-alphabetical-variant'"></mat-icon>
</button>
</div>

Expand All @@ -47,4 +47,4 @@
</button>
</div>

</mat-list-item>
</mat-list-item>

0 comments on commit bcb5242

Please sign in to comment.