vcomply-workflow-engine 6.6.6 → 6.6.7

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.
@@ -35087,6 +35087,7 @@ class WorkflowComplianceComponent {
35087
35087
  checkedMoreOptions.push('CHECKPOINTS_NEW');
35088
35088
  this.moreOptions.CHECKPOINTS_NEW = true;
35089
35089
  }
35090
+ console.log("Data Base", this.responsibilityForm, this.customFields);
35090
35091
  //if custom fields are present in the responsibility form and custom fields are present in the custom fields list
35091
35092
  if (this.responsibilityForm.customFields?.length > 0 && this.customFields?.length > 0) {
35092
35093
  checkedMoreOptions.push('CUSTOM_FIELDS');
@@ -35526,7 +35527,6 @@ class WorkflowComplianceComponent {
35526
35527
  selectedGRCObjects: res?.meta?.linkedEntities?.grcObjects ?? [],
35527
35528
  customFields: this.populateCustomFields(res) ?? [],
35528
35529
  };
35529
- this.customFields = this.customFields?.filter((ele) => !res?.customField?.some((field) => field.id === ele.id));
35530
35530
  const GRC_OBJECTS = res?.meta?.linkedEntities?.grcObjects ?? [];
35531
35531
  if (GRC_OBJECTS?.length > 0) {
35532
35532
  this.populateGRCObjectDetails(GRC_OBJECTS);
@@ -35536,6 +35536,7 @@ class WorkflowComplianceComponent {
35536
35536
  this.populateProgramDetails(res);
35537
35537
  this.getEditMoreOptions(res);
35538
35538
  this.populateformatDetails(res);
35539
+ this.customFields = this.customFields?.filter((ele) => !res?.customField?.some((field) => field.id === ele.id));
35539
35540
  }
35540
35541
  //populate custom fields
35541
35542
  populateCustomFields(res) {