Browse Source

Fixed set config logic

pull/14540/head
Maksym Tsymbarov 9 months ago
parent
commit
af3ef1d5ce
  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