vcomply-workflow-engine 2.6.171 → 2.6.173

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.
@@ -3448,7 +3448,7 @@ class WorkflowComplianceComponent {
3448
3448
  else {
3449
3449
  this.isAssessmentDisabled.emit(true);
3450
3450
  }
3451
- this.responsibilityForm.program.length;
3451
+ this.callRefreshList();
3452
3452
  this.getEditMoreOptions(res);
3453
3453
  }
3454
3454
  });
@@ -3680,12 +3680,7 @@ class WorkflowComplianceComponent {
3680
3680
  else {
3681
3681
  this.responsibilityForm.assignees.list = this.setList(this.assigneesList, selectedItems, 'my_member_id');
3682
3682
  }
3683
- if (this.responsibilityForm.program.length) {
3684
- this.refreshListsWhileProgramSelected();
3685
- }
3686
- else {
3687
- this.refreshAllLists();
3688
- }
3683
+ this.callRefreshList();
3689
3684
  }
3690
3685
  break;
3691
3686
  case 'rc':
@@ -3782,12 +3777,7 @@ class WorkflowComplianceComponent {
3782
3777
  else {
3783
3778
  this.responsibilityForm.reviewers.list = this.setList(this.reviewersList, selectedItems, 'employee_id');
3784
3779
  }
3785
- if (this.responsibilityForm.program.length) {
3786
- this.refreshListsWhileProgramSelected();
3787
- }
3788
- else {
3789
- this.refreshAllLists();
3790
- }
3780
+ this.callRefreshList();
3791
3781
  break;
3792
3782
  case 'overseer':
3793
3783
  if (this.featureFlag_groups) {
@@ -3796,12 +3786,7 @@ class WorkflowComplianceComponent {
3796
3786
  else {
3797
3787
  this.responsibilityForm.overseers.list = this.setList(this.overseersList, selectedItems, 'employee_id');
3798
3788
  }
3799
- if (this.responsibilityForm.program.length) {
3800
- this.refreshListsWhileProgramSelected();
3801
- }
3802
- else {
3803
- this.refreshAllLists();
3804
- }
3789
+ this.callRefreshList();
3805
3790
  break;
3806
3791
  case 'overseerNotify':
3807
3792
  if (this.featureFlag_groups) {
@@ -3810,12 +3795,7 @@ class WorkflowComplianceComponent {
3810
3795
  else {
3811
3796
  this.responsibilityForm.overseers.notifyList = this.setList(this.overseersList, selectedItems, 'employee_id');
3812
3797
  }
3813
- if (this.responsibilityForm.program.length) {
3814
- this.refreshListsWhileProgramSelected();
3815
- }
3816
- else {
3817
- this.refreshAllLists();
3818
- }
3798
+ this.callRefreshList();
3819
3799
  break;
3820
3800
  case 'assurance':
3821
3801
  this.responsibilityForm.assuranceList = this.setList(this.assuranceCategoriesList, selectedItems, 'category_id');