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.
@@ -24160,12 +24160,13 @@ class WorkflowProgramComponent {
24160
24160
  return Object.assign(Object.assign({}, ele), { assessmentIds: ele === null || ele === void 0 ? void 0 : ele.assessments.map((assess) => { return Object.assign(Object.assign({}, assess), { id: assess === null || assess === void 0 ? void 0 : assess._id }); }) });
24161
24161
  });
24162
24162
  this.setFormField('program_assessments', res.assessmentData);
24163
- this.constants.additionalOption.ASSESSMENT = true;
24163
+ this.additionalOption.ASSESSMENT = true;
24164
24164
  this.populateOptionalFields();
24165
24165
  }
24166
24166
  if (res.custom_fields.length) {
24167
24167
  this.setFormField('custom_fields', res.custom_fields);
24168
- this.constants.additionalOption.CUSTOM_FIELDS = true;
24168
+ this.additionalOption.CUSTOM_FIELDS = true;
24169
+ this.populateOptionalFields();
24169
24170
  }
24170
24171
  this.isApproverDisabled = (_h = res === null || res === void 0 ? void 0 : res.isApproverDisabled) !== null && _h !== void 0 ? _h : false;
24171
24172
  this.populateMembers(res);