Skip to content

Commit

Permalink
fix(stark-ui): change the Multisort component to display the label in…
Browse files Browse the repository at this point in the history
…stead of the column

ISSUES CLOSED: #1397
  • Loading branch information
nicanac committed Jan 9, 2020
1 parent 7b88a68 commit fc3863c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1 mat-dialog-title translate>STARK.MULTI_COLUMN_SORTING.TITLE</h1>
<mat-select [value]="rule" (selectionChange)="onColumnChange(rule, $event.value)">
<ng-container *ngFor="let ruleOption of rules; trackBy: trackRuleFn">
<mat-option *ngIf="ruleOption == rule || !ruleOption.sortDirection" [value]="ruleOption">
{{ (ruleOption.column.label ? ruleOption.column.label : ruleOption.column.name) | translate }}
{{ ruleOption.column.headerLabel | translate }}
</mat-option>
</ng-container>
</mat-select>
Expand Down

0 comments on commit fc3863c

Please sign in to comment.