Commit 52a9c44afb3a3d76da94fdae722478cb7bc653aa
Merge branch 'improvement/device-profile/credentials' of https://github.com/vvll…
…add28/thingsboard into merge-issue-fix
Showing
8 changed files
with
8 additions
and
7 deletions
... | ... | @@ -148,6 +148,7 @@ export class DeviceCredentialsComponent implements ControlValueAccessor, OnInit, |
148 | 148 | } else { |
149 | 149 | this.deviceCredentialsFormGroup.enable({emitEvent: false}); |
150 | 150 | this.updateValidators(); |
151 | + this.deviceCredentialsFormGroup.updateValueAndValidity(); | |
151 | 152 | } |
152 | 153 | } |
153 | 154 | ... | ... |
... | ... | @@ -155,7 +155,7 @@ |
155 | 155 | <mat-step [stepControl]="credentialsFormGroup" [optional]="true"> |
156 | 156 | <ng-template matStepLabel>{{ 'device.credentials' | translate }}</ng-template> |
157 | 157 | <form [formGroup]="credentialsFormGroup" style="padding-bottom: 16px;"> |
158 | - <mat-checkbox style="padding-bottom: 16px;" formControlName="setCredential">{{ 'device.wizard.add-credential' | translate }}</mat-checkbox> | |
158 | + <mat-checkbox style="padding-bottom: 16px;" formControlName="setCredential">{{ 'device.wizard.add-credentials' | translate }}</mat-checkbox> | |
159 | 159 | <tb-device-credentials |
160 | 160 | [fxShow]="credentialsFormGroup.get('setCredential').value" |
161 | 161 | formControlName="credential"> | ... | ... |
... | ... | @@ -923,7 +923,7 @@ |
923 | 923 | "existing-device-profile": "Vybrat existující profil zařízení", |
924 | 924 | "specific-configuration": "Specifická konfigurace", |
925 | 925 | "customer-to-assign-device": "Přiřadit zařízení zákazníkovi", |
926 | - "add-credential": "Přidat přístupový údaj" | |
926 | + "add-credentials": "Přidat přístupový údaj" | |
927 | 927 | } |
928 | 928 | }, |
929 | 929 | "device-profile": { | ... | ... |
... | ... | @@ -1000,7 +1000,7 @@ |
1000 | 1000 | "existing-device-profile": "Select existing device profile", |
1001 | 1001 | "specific-configuration": "Specific configuration", |
1002 | 1002 | "customer-to-assign-device": "Customer to assign the device", |
1003 | - "add-credential": "Add credential" | |
1003 | + "add-credentials": "Add credentials" | |
1004 | 1004 | }, |
1005 | 1005 | "unassign-devices-from-edge-title": "Are you sure you want to unassign { count, plural, 1 {1 device} other {# devices} }?", |
1006 | 1006 | "unassign-devices-from-edge-text": "After the confirmation all selected devices will be unassigned and won't be accessible by the edge." | ... | ... |
... | ... | @@ -947,7 +947,7 @@ |
947 | 947 | "existing-device-profile": "Seleccionar un perfil existente", |
948 | 948 | "specific-configuration": "Configuración específica", |
949 | 949 | "customer-to-assign-device": "Cliente al que asignar el dispositivo", |
950 | - "add-credential": "Añadir credencial" | |
950 | + "add-credentials": "Añadir credencial" | |
951 | 951 | }, |
952 | 952 | "assign-device-to-edge-text": "Seleccione los dispositivos para asignar al borde", |
953 | 953 | "unassign-device-from-edge-title": "¿Está seguro de que desea desasignar el dispositivo '{{deviceName}}'?", | ... | ... |
... | ... | @@ -920,7 +920,7 @@ |
920 | 920 | "existing-device-profile": "기존 장치 프로파일 선택", |
921 | 921 | "specific-configuration": "특수 설정", |
922 | 922 | "customer-to-assign-device": "장치에 할당할 커스터머", |
923 | - "add-credential": "크리덴셜 추가" | |
923 | + "add-credentials": "크리덴셜 추가" | |
924 | 924 | } |
925 | 925 | }, |
926 | 926 | "device-profile": { | ... | ... |
... | ... | @@ -920,7 +920,7 @@ |
920 | 920 | "existing-device-profile": "Select existing device profile", |
921 | 921 | "specific-configuration": "Specific configuration", |
922 | 922 | "customer-to-assign-device": "Customer to assign the device", |
923 | - "add-credential": "Add credential" | |
923 | + "add-credentials": "Add credentials" | |
924 | 924 | } |
925 | 925 | }, |
926 | 926 | "device-profile": { | ... | ... |
... | ... | @@ -1079,7 +1079,7 @@ |
1079 | 1079 | "view-credentials": "查看凭据", |
1080 | 1080 | "view-devices": "查看设备", |
1081 | 1081 | "wizard": { |
1082 | - "add-credential": "添加凭据", | |
1082 | + "add-credentials": "添加凭据", | |
1083 | 1083 | "customer-to-assign-device": "客户分配设备", |
1084 | 1084 | "device-details": "设备详细信息", |
1085 | 1085 | "device-wizard": "设备向导", | ... | ... |