Skip to content

Commit

Permalink
fix(admin-ui): Use translated state labels in custom filter select
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Nov 13, 2020
1 parent af4589f commit 5f6f9ff
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
[clearable]="true"
[searchable]="false"
>
<ng-template ng-option-tmp let-item="item">{{ item | stateI18nToken | translate }}</ng-template>
<ng-template ng-label-tmp let-item="item" let-clear="clear">
<span class="ng-value-label"> {{ item | stateI18nToken | translate }}</span>
<span class="ng-value-icon right" (click)="clear(item)" aria-hidden="true">×</span>
</ng-template>
</ng-select>
<button
class="btn btn-secondary"
Expand Down

0 comments on commit 5f6f9ff

Please sign in to comment.