diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector.component.ts index 2ea5964b84..9838fd2df2 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector.component.ts @@ -387,11 +387,11 @@ 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; + delete value.oid; break; case ConnectorType.REQUEST: this.clearFromArrayByName("httpHeaders");