From a2fe82971a6fcf09138eddc91a8ab9e9a135e9a6 Mon Sep 17 00:00:00 2001 From: Maksym Dudnik Date: Fri, 21 Jul 2023 13:37:06 +0300 Subject: [PATCH] class fix --- .../widget/lib/gateway/gateway-connectors.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.ts index be91184ff0..9f13d72927 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.ts @@ -286,6 +286,9 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie if (!connector.key) { connector.key = 'auto'; } + if (!connector.class) { + connector.class = 'auto'; + } this.initialConnector = connector; this.connectorForm.setValue(connector); this.connectorForm.markAsPristine();