[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);
|
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…
x
Reference in New Issue
Block a user