diff --git a/ui-ngx/src/app/shared/components/device/gateway-connectors.component.ts b/ui-ngx/src/app/shared/components/device/gateway-connectors.component.ts index d165b852f5..3b3a5d1393 100644 --- a/ui-ngx/src/app/shared/components/device/gateway-connectors.component.ts +++ b/ui-ngx/src/app/shared/components/device/gateway-connectors.component.ts @@ -277,9 +277,9 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie this.connectorForm.enable(); } const connector = attribute.value; - // if (connector.configuration) { - // delete connector.configuration; - // } + if (!connector.configuration) { + connector.configuration = ""; + } if (!connector.key) { connector.key = 'auto'; }