Browse Source

Merge pull request #9414 from MrKartoshka/hotfix/3.6

PRC params json hotfix
pull/9417/head
Andrew Shvayka 3 years ago
committed by GitHub
parent
commit
94e935636e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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