vcomply-workflow-engine 3.1.3 → 3.1.5

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.
@@ -25446,7 +25446,7 @@ class WorkflowPolicyComponent {
25446
25446
  delete ele?.other_type;
25447
25447
  return ele;
25448
25448
  });
25449
- const group_employeeIds = data.group_employeeNames.map((id) => id.employee_id);
25449
+ const group_employeeIds = data.group_employeeNames.map((id) => id?.my_member_id);
25450
25450
  const group_Ids = data?.usergroup_ids?.map((id) => id) ?? [];
25451
25451
  this.policyForm.selectedCategories = this.setList(this.categoryList, categoryIds, '_id');
25452
25452
  this.policyForm.policy_id = data?.policy_id;
@@ -25455,7 +25455,7 @@ class WorkflowPolicyComponent {
25455
25455
  (this.policyForm.customTags = data.custom_tags ? data.custom_tags : []);
25456
25456
  this.policyForm.selectedAssignees =
25457
25457
  group_employeeIds.length > 0
25458
- ? this.setList(this.assigneesList, group_employeeIds, 'employee_id')
25458
+ ? this.setList(this.assigneesList, group_employeeIds, 'my_member_id')
25459
25459
  : []; //doubt in name
25460
25460
  this.policyForm.selectedGroupAssignee =
25461
25461
  group_Ids?.length > 0