@lowcodeunit/applications-flow-common 1.39.66-exceptions → 1.39.68-exceptions

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -633,7 +633,7 @@ class ProjectService {
633
633
  async SaveEnterpriseAsCode(state, eac) {
634
634
  return new Promise((resolve, reject) => {
635
635
  state.Loading = true;
636
- // console.log('eac: ', eac);
636
+ console.log('eac: ', eac);
637
637
  this.appsFlowSvc.SaveEnterpriseAsCode(eac).subscribe(async (response) => {
638
638
  if (response.Status.Code === 0) {
639
639
  resolve(response.Status);
@@ -5045,7 +5045,10 @@ class ProcessorDetailsFormComponent {
5045
5045
  this.SetupProcessorDetailsForm();
5046
5046
  }
5047
5047
  SourceControlChanged(event) {
5048
+ console.log('sc changed');
5048
5049
  this.IsSourceControlValid = this.SourceControlFormControl.valid;
5050
+ this.BuildPathFormControl.patchValue(null);
5051
+ this.BuildPathOptions = null;
5049
5052
  this.listBuildPaths();
5050
5053
  }
5051
5054
  ProcessorTypeChanged(event) {
@@ -5064,17 +5067,17 @@ class ProcessorDetailsFormComponent {
5064
5067
  let regex = new RegExp('^(HTTPS://)', 'i');
5065
5068
  let redirect = this.RedirectFormControl.value;
5066
5069
  // console.log('reg ex match; ', redirect.match(regex));
5067
- if (this.IncludeRequestFormControl.value && !redirect.match(regex)) {
5070
+ if (!this.IncludeRequestFormControl.value && !redirect.match(regex)) {
5068
5071
  this.RedirectError =
5069
- 'Redirect url must begin with https:// when Include Path and Query is toggled';
5072
+ 'Redirect url must begin with https:// when Include Path and Query is NOT toggled';
5070
5073
  this.IncludeRequestFormControl.setErrors({ incorrect: true });
5071
5074
  }
5072
- else if (this.IncludeRequestFormControl.value &&
5075
+ else if (!this.IncludeRequestFormControl.value &&
5073
5076
  redirect.match(regex)) {
5074
5077
  this.RedirectError = null;
5075
5078
  this.IncludeRequestFormControl.setErrors(null);
5076
5079
  }
5077
- else if (!this.IncludeRequestFormControl.value) {
5080
+ else if (this.IncludeRequestFormControl.value) {
5078
5081
  this.RedirectError = null;
5079
5082
  // this.IncludeRequestFormControl.setErrors(null);
5080
5083
  }