From ef45ab4f3b838bb0b7463658a6936a5602b6eb03 Mon Sep 17 00:00:00 2001 From: Maksym Dudnik Date: Fri, 13 Oct 2023 16:41:36 +0300 Subject: [PATCH] rpc params json hotfix --- .../widget/lib/gateway/gateway-service-rpc.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.ts index 317c547725..a8ad61e1ec 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.ts @@ -61,7 +61,7 @@ export class GatewayServiceRPCComponent implements AfterViewInit { this.commandForm = this.fb.group({ command: [null,[Validators.required]], time: [60, [Validators.required, Validators.min(1)]], - params: [{}, [jsonRequired]], + params: ['{}', [jsonRequired]], result: [null] }); }