This commit is contained in:
Maksym Dudnik 2023-06-02 12:04:06 +03:00
parent a6d7b46b38
commit 15e08b7919
2 changed files with 2 additions and 0 deletions

View File

@ -360,6 +360,7 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie
const params = deepClone(this.ctx.stateController.getStateParams()); const params = deepClone(this.ctx.stateController.getStateParams());
params.connector_rpc = attribute; params.connector_rpc = attribute;
params.targetEntityParamName = "connector_rpc"; params.targetEntityParamName = "connector_rpc";
console.log(attribute, 'connector page')
this.ctx.stateController.openState("connector_rpc", params); this.ctx.stateController.openState("connector_rpc", params);
} }

View File

@ -91,6 +91,7 @@ export class GatewayServiceRPCComponent extends PageComponent implements AfterVi
this.commandForm.get('command').setValue(this.RPCCommands[0]); this.commandForm.get('command').setValue(this.RPCCommands[0]);
} else { } else {
this.connectorType = this.ctx.stateController.getStateParams().connector_rpc.value.type; this.connectorType = this.ctx.stateController.getStateParams().connector_rpc.value.type;
console.log(this.ctx.stateController.getStateParams().connector_rpc, 'rpc page')
} }
} }