|
|
@ -286,7 +286,6 @@ export class DeviceCredentialsComponent implements ControlValueAccessor, OnInit, |
|
|
|
|
|
|
|
|
private jsonValidator(control: FormControl) { |
|
|
private jsonValidator(control: FormControl) { |
|
|
try { |
|
|
try { |
|
|
debugger; |
|
|
|
|
|
JSON.parse(control.value); |
|
|
JSON.parse(control.value); |
|
|
return null |
|
|
return null |
|
|
} catch (e) { |
|
|
} catch (e) { |
|
|
|