Browse Source

fixes

pull/8337/head
Maksym Dudnik 3 years ago
parent
commit
c834f5963e
  1. 6
      ui-ngx/src/app/shared/components/device/gateway-connectors.component.ts

6
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(); this.connectorForm.enable();
} }
const connector = attribute.value; const connector = attribute.value;
// if (connector.configuration) { if (!connector.configuration) {
// delete connector.configuration; connector.configuration = "";
// } }
if (!connector.key) { if (!connector.key) {
connector.key = 'auto'; connector.key = 'auto';
} }

Loading…
Cancel
Save