Merge pull request #9414 from MrKartoshka/hotfix/3.6

PRC params json hotfix
This commit is contained in:
Andrew Shvayka 2023-10-13 17:39:24 +03:00 committed by GitHub
commit 94e935636e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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