vcomply-workflow-engine 2.4.1 → 2.4.2

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.
@@ -2729,14 +2729,14 @@ class WorkflowComplianceComponent {
2729
2729
  }
2730
2730
  }
2731
2731
  if (this.responsibilityForm.program[0].default_overseers) {
2732
- const overseers = this.assigneesList.filter((element) => this.responsibilityForm.program[0].default_overseers.cc_email.includes(element.my_member_id));
2733
- const notifyOverseers = this.assigneesList.filter((element) => this.responsibilityForm.program[0].default_overseers.failure_cc_email.includes(element.my_member_id));
2732
+ const overseers = this.overseersList.filter((element) => this.responsibilityForm.program[0].default_overseers.cc_email.includes(element.my_member_id));
2733
+ const notifyOverseers = this.overseersList.filter((element) => this.responsibilityForm.program[0].default_overseers.failure_cc_email.includes(element.my_member_id));
2734
2734
  if (overseers.length) {
2735
2735
  this.responsibilityForm.overseers.list = overseers;
2736
2736
  this.moreOptions.OVERSEER = true;
2737
2737
  }
2738
2738
  if (notifyOverseers.length) {
2739
- this.responsibilityForm.notifyList.list = notifyOverseers;
2739
+ this.responsibilityForm.overseers.notifyList = notifyOverseers;
2740
2740
  this.moreOptions.OVERSEER = true;
2741
2741
  }
2742
2742
  }