From c834f5963ede52fa1d33e97391aee2db75aa2213 Mon Sep 17 00:00:00 2001 From: Maksym Dudnik Date: Thu, 25 May 2023 14:42:01 +0300 Subject: [PATCH] fixes --- .../components/device/gateway-connectors.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'; }