Browse Source

fix typo

pull/3740/head
ShvaykaD 6 years ago
parent
commit
5ef30fb2ef
  1. 2
      ui-ngx/src/app/modules/home/components/profile/device/mqtt-device-profile-transport-configuration.component.ts

2
ui-ngx/src/app/modules/home/components/profile/device/mqtt-device-profile-transport-configuration.component.ts

@ -92,7 +92,7 @@ export class MqttDeviceProfileTransportConfigurationComponent implements Control
});
let configurationFormGroup = this.mqttDeviceProfileTransportConfigurationFormGroup.controls.configuration as FormGroup;
configurationFormGroup.get('transportPayloadType').valueChanges.subscribe(payloadType => {
this.updateTransportPayloadBasedControls(type, configurationFormGroup)
this.updateTransportPayloadBasedControls(payloadType, configurationFormGroup)
this.mqttDeviceProfileTransportConfigurationFormGroup.updateValueAndValidity();
});
this.mqttDeviceProfileTransportConfigurationFormGroup.valueChanges.subscribe(() => {

Loading…
Cancel
Save