Browse Source

Merge branch 'improvements/4097-modbus-adjustments' into improvements/050824-gateway

pull/11354/head
mpetrov 2 years ago
parent
commit
66522fbfc3
  1. 4
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/connectors-configuration/modbus/modbus-basic-config/modbus-basic-config.component.ts

4
ui-ngx/src/app/modules/home/components/widget/lib/gateway/connectors-configuration/modbus/modbus-basic-config/modbus-basic-config.component.ts

@ -85,8 +85,8 @@ export class ModbusBasicConfigComponent implements ControlValueAccessor, Validat
this.basicFormGroup.valueChanges
.pipe(takeUntil(this.destroy$))
.subscribe(value => {
this.onChange(value);
.subscribe(({ master, slave }) => {
this.onChange({ master, slave: slave ?? {} });
this.onTouched();
});

Loading…
Cancel
Save