Browse Source

[PROD-3857] [FIX] Fixed templates display on opening SNMP connector

pull/11009/head
mpetrov 2 years ago
parent
commit
8c8fca4c27
  1. 4
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector.component.ts

4
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector.component.ts

@ -387,8 +387,8 @@ export class GatewayServiceRPCConnectorComponent implements OnInit, ControlValue
value = deepClone(value); value = deepClone(value);
switch (this.connectorType) { switch (this.connectorType) {
case ConnectorType.SNMP: case ConnectorType.SNMP:
this.clearFromArrayByName("oids"); this.clearFromArrayByName("oid");
value.oids.forEach(value => { value.oid.forEach(value => {
this.addSNMPoid(value) this.addSNMPoid(value)
}) })
delete value.oids; delete value.oids;

Loading…
Cancel
Save