[PROD-3857] [FIX] Fixed templates display on opening SNMP connector
This commit is contained in:
parent
f9c554e96f
commit
8c8fca4c27
@ -387,8 +387,8 @@ export class GatewayServiceRPCConnectorComponent implements OnInit, ControlValue
|
||||
value = deepClone(value);
|
||||
switch (this.connectorType) {
|
||||
case ConnectorType.SNMP:
|
||||
this.clearFromArrayByName("oids");
|
||||
value.oids.forEach(value => {
|
||||
this.clearFromArrayByName("oid");
|
||||
value.oid.forEach(value => {
|
||||
this.addSNMPoid(value)
|
||||
})
|
||||
delete value.oids;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user