UI: Fixed UI build
This commit is contained in:
parent
bf534e2836
commit
95fb479504
@ -67,13 +67,13 @@
|
||||
</mat-form-field>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tb-form-panel">
|
||||
<div translate class="tb-form-panel-title">security.security</div>
|
||||
<ng-container formGroupName="security">
|
||||
<tb-toggle-select class="toggle-group" formControlName="type">
|
||||
<tb-toggle-option *ngFor="let securityType of securityTypes | keyvalue"
|
||||
[value]="securityType.key">{{ securityType.value | translate }}</tb-toggle-option>
|
||||
[value]="securityType.key">{{ securityType.value | translate }}
|
||||
</tb-toggle-option>
|
||||
</tb-toggle-select>
|
||||
<mat-form-field appearance="outline"
|
||||
*ngIf="gatewayConfigGroup.get('thingsboard.security.type').value.toLowerCase().includes('accesstoken')">
|
||||
@ -137,7 +137,7 @@
|
||||
</mat-icon>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<mat-form-field appearance="outline" subscriptSizing="dynamic"
|
||||
<mat-form-field appearance="outline" subscriptSizing="dynamic" style="width: 100%"
|
||||
*ngIf="gatewayConfigGroup.get('thingsboard.security.type').value === 'usernamePassword'">
|
||||
<mat-label translate>gateway.password</mat-label>
|
||||
<input matInput formControlName="password"/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user