refactoring
This commit is contained in:
parent
9def6ca2f2
commit
0b8c122f0a
@ -76,7 +76,12 @@
|
||||
<div class="tb-flex no-gap">
|
||||
<mat-form-field class="tb-flex no-gap" appearance="outline" subscriptSizing="dynamic">
|
||||
<mat-select formControlName="functionCode">
|
||||
<mat-option *ngFor="let code of functionCodesMap.get(keyControl.get('id').value) || defaultFunctionCodes" [value]="code">{{ ModbusFunctionCodeTranslationsMap.get(code) | translate }}</mat-option>
|
||||
<mat-option
|
||||
*ngFor="let code of functionCodesMap.get(keyControl.get('id').value) || defaultFunctionCodes"
|
||||
[value]="code"
|
||||
>
|
||||
{{ ModbusFunctionCodeTranslationsMap.get(code) | translate }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user