@lowcodeunit/applications-flow-common 1.39.67-exceptions → 1.39.69-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.
@@ -5047,8 +5047,10 @@ class ProcessorDetailsFormComponent {
5047
5047
  SourceControlChanged(event) {
5048
5048
  console.log('sc changed');
5049
5049
  this.IsSourceControlValid = this.SourceControlFormControl.valid;
5050
- this.BuildPathFormControl.patchValue(null);
5051
- this.BuildPathOptions = null;
5050
+ if (this.LCUType === 'GitHub') {
5051
+ this.BuildPathFormControl.patchValue(null);
5052
+ this.BuildPathOptions = null;
5053
+ }
5052
5054
  this.listBuildPaths();
5053
5055
  }
5054
5056
  ProcessorTypeChanged(event) {
@@ -5067,17 +5069,17 @@ class ProcessorDetailsFormComponent {
5067
5069
  let regex = new RegExp('^(HTTPS://)', 'i');
5068
5070
  let redirect = this.RedirectFormControl.value;
5069
5071
  // console.log('reg ex match; ', redirect.match(regex));
5070
- if (this.IncludeRequestFormControl.value && !redirect.match(regex)) {
5072
+ if (!this.IncludeRequestFormControl.value && !redirect.match(regex)) {
5071
5073
  this.RedirectError =
5072
- 'Redirect url must begin with https:// when Include Path and Query is toggled';
5074
+ 'Redirect url must begin with https:// when Include Path and Query is NOT toggled';
5073
5075
  this.IncludeRequestFormControl.setErrors({ incorrect: true });
5074
5076
  }
5075
- else if (this.IncludeRequestFormControl.value &&
5077
+ else if (!this.IncludeRequestFormControl.value &&
5076
5078
  redirect.match(regex)) {
5077
5079
  this.RedirectError = null;
5078
5080
  this.IncludeRequestFormControl.setErrors(null);
5079
5081
  }
5080
- else if (!this.IncludeRequestFormControl.value) {
5082
+ else if (this.IncludeRequestFormControl.value) {
5081
5083
  this.RedirectError = null;
5082
5084
  // this.IncludeRequestFormControl.setErrors(null);
5083
5085
  }