Browse Source

Merge pull request #8 from mtsymbarov-del/fix/rest-api-node/url-encoding

Fixed set config logic
pull/14540/head
Dmytro Skarzhynets 9 months ago
committed by GitHub
parent
commit
f671c84592
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.ts

5
ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.ts

@ -75,6 +75,11 @@ export class RestApiCallConfigComponent extends RuleNodeConfigurationComponent {
return super.prepareInputConfig(configuration); return super.prepareInputConfig(configuration);
} }
protected prepareOutputConfig(configuration: RuleNodeConfiguration): RuleNodeConfiguration {
configuration.queryParams = isDefinedAndNotNull(configuration.queryParams) ? configuration.queryParams : [];
return super.prepareOutputConfig(configuration);
}
protected updateValidators(emitEvent: boolean) { protected updateValidators(emitEvent: boolean) {
const enableProxy: boolean = this.restApiCallConfigForm.get('enableProxy').value; const enableProxy: boolean = this.restApiCallConfigForm.get('enableProxy').value;
const useSystemProxyProperties: boolean = this.restApiCallConfigForm.get('useSystemProxyProperties').value; const useSystemProxyProperties: boolean = this.restApiCallConfigForm.get('useSystemProxyProperties').value;

Loading…
Cancel
Save