vcomply-workflow-engine 2.4.71 → 2.4.72

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.
@@ -25465,12 +25465,13 @@
25465
25465
  return Object.assign(Object.assign({}, ele), { assessmentIds: ele === null || ele === void 0 ? void 0 : ele.assessments.map(function (assess) { return Object.assign(Object.assign({}, assess), { id: assess === null || assess === void 0 ? void 0 : assess._id }); }) });
25466
25466
  });
25467
25467
  _this.setFormField('program_assessments', res.assessmentData);
25468
- _this.constants.additionalOption.ASSESSMENT = true;
25468
+ _this.additionalOption.ASSESSMENT = true;
25469
25469
  _this.populateOptionalFields();
25470
25470
  }
25471
25471
  if (res.custom_fields.length) {
25472
25472
  _this.setFormField('custom_fields', res.custom_fields);
25473
- _this.constants.additionalOption.CUSTOM_FIELDS = true;
25473
+ _this.additionalOption.CUSTOM_FIELDS = true;
25474
+ _this.populateOptionalFields();
25474
25475
  }
25475
25476
  _this.isApproverDisabled = (_h = res === null || res === void 0 ? void 0 : res.isApproverDisabled) !== null && _h !== void 0 ? _h : false;
25476
25477
  _this.populateMembers(res);