Commit 1b1dac30d4b9bd2775f6e2d0a859973ac4eb3f5d

Authored by Vladyslav Prykhodko
1 parent c8f8901a

UI: Improvment device-profile set default rule-chain

@@ -49,11 +49,10 @@ @@ -49,11 +49,10 @@
49 {{ 'device-profile.name-required' | translate }} 49 {{ 'device-profile.name-required' | translate }}
50 </mat-error> 50 </mat-error>
51 </mat-form-field> 51 </mat-form-field>
52 - <tb-entity-autocomplete 52 + <tb-rule-chain-autocomplete
53 labelText="device-profile.default-rule-chain" 53 labelText="device-profile.default-rule-chain"
54 - [entityType]="entityType.RULE_CHAIN"  
55 formControlName="defaultRuleChainId"> 54 formControlName="defaultRuleChainId">
56 - </tb-entity-autocomplete> 55 + </tb-rule-chain-autocomplete>
57 <mat-form-field class="mat-block"> 56 <mat-form-field class="mat-block">
58 <mat-label translate>device-profile.type</mat-label> 57 <mat-label translate>device-profile.type</mat-label>
59 <mat-select formControlName="type" required> 58 <mat-select formControlName="type" required>