Skip to content

Commit

Permalink
added translation pipe.
Browse files Browse the repository at this point in the history
  • Loading branch information
amar-c8y committed Mar 27, 2024
1 parent 1c992e9 commit 266e3cb
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,9 @@

<label for="returnTypeField" translate>Return type</label>
<div class="c8y-select-wrapper">
<select
id="returnTypeField"
class="form-control"
[(ngModel)]="property.config.resultTypes"
>
<option
*ngFor="let item of resultTypes | keyvalue"
[ngValue]="item.value.value"
>
{{ item.value.label }}
<select id="returnTypeField" class="form-control" [(ngModel)]="property.config.resultTypes">
<option *ngFor="let item of resultTypes | keyvalue" [ngValue]="item.value.value">
{{ item.value.label | translate }}
</option>
</select>
</div>

0 comments on commit 266e3cb

Please sign in to comment.