Browse Source

rpc params json hotfix

pull/9414/head
Maksym Dudnik 3 years ago
parent
commit
ef45ab4f3b
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.ts

2
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]
});
}

Loading…
Cancel
Save