vcomply-workflow-engine 2.6.128 → 2.6.130

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.
@@ -6577,7 +6577,7 @@ class WorkflowPolicyComponent {
6577
6577
  }
6578
6578
  }
6579
6579
  populatePolicyForm(data, categoryIds) {
6580
- var _a, _b, _c, _e;
6580
+ var _a, _b, _c, _e, _f, _g;
6581
6581
  const reviewerFiles = data.ReviewerAttachments.map((file) => {
6582
6582
  file.filename = file.name;
6583
6583
  file.filepath = file.file_path;
@@ -6634,6 +6634,8 @@ class WorkflowPolicyComponent {
6634
6634
  this.policyForm.addCheckpoints = (this.policyForm.checkpointDetails.length > 0) ? true : false;
6635
6635
  this.policyForm.addOverseers = (this.policyForm.CCFailEmail.length > 0 || this.policyForm.CCEmail.length > 0) ? true : false;
6636
6636
  this.policyForm.addAssociatedDocuments = data.associated_documents.length > 0 ? true : false;
6637
+ this.ccEmailObjIds = (((_f = data === null || data === void 0 ? void 0 : data.cc_usergroup_ids) === null || _f === void 0 ? void 0 : _f.length) > 0) ? data === null || data === void 0 ? void 0 : data.cc_usergroup_ids : [];
6638
+ this.ccFailGroupObjIds = (((_g = data === null || data === void 0 ? void 0 : data.cc_fail_usergroup_ids) === null || _g === void 0 ? void 0 : _g.length) > 0) ? data === null || data === void 0 ? void 0 : data.cc_fail_usergroup_ids : [];
6637
6639
  this.populateOptionalFields();
6638
6640
  // this.checkForCreateDocuments();
6639
6641
  this.loader = false;