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.
@@ -3837,7 +3837,7 @@
3837
3837
  else {
3838
3838
  _this.isAssessmentDisabled.emit(true);
3839
3839
  }
3840
- _this.responsibilityForm.program.length;
3840
+ _this.callRefreshList();
3841
3841
  _this.getEditMoreOptions(res);
3842
3842
  }
3843
3843
  });
@@ -4074,12 +4074,7 @@
4074
4074
  else {
4075
4075
  this.responsibilityForm.assignees.list = this.setList(this.assigneesList, selectedItems, 'my_member_id');
4076
4076
  }
4077
- if (this.responsibilityForm.program.length) {
4078
- this.refreshListsWhileProgramSelected();
4079
- }
4080
- else {
4081
- this.refreshAllLists();
4082
- }
4077
+ this.callRefreshList();
4083
4078
  }
4084
4079
  break;
4085
4080
  case 'rc':
@@ -4176,12 +4171,7 @@
4176
4171
  else {
4177
4172
  this.responsibilityForm.reviewers.list = this.setList(this.reviewersList, selectedItems, 'employee_id');
4178
4173
  }
4179
- if (this.responsibilityForm.program.length) {
4180
- this.refreshListsWhileProgramSelected();
4181
- }
4182
- else {
4183
- this.refreshAllLists();
4184
- }
4174
+ this.callRefreshList();
4185
4175
  break;
4186
4176
  case 'overseer':
4187
4177
  if (this.featureFlag_groups) {
@@ -4190,12 +4180,7 @@
4190
4180
  else {
4191
4181
  this.responsibilityForm.overseers.list = this.setList(this.overseersList, selectedItems, 'employee_id');
4192
4182
  }
4193
- if (this.responsibilityForm.program.length) {
4194
- this.refreshListsWhileProgramSelected();
4195
- }
4196
- else {
4197
- this.refreshAllLists();
4198
- }
4183
+ this.callRefreshList();
4199
4184
  break;
4200
4185
  case 'overseerNotify':
4201
4186
  if (this.featureFlag_groups) {
@@ -4204,12 +4189,7 @@
4204
4189
  else {
4205
4190
  this.responsibilityForm.overseers.notifyList = this.setList(this.overseersList, selectedItems, 'employee_id');
4206
4191
  }
4207
- if (this.responsibilityForm.program.length) {
4208
- this.refreshListsWhileProgramSelected();
4209
- }
4210
- else {
4211
- this.refreshAllLists();
4212
- }
4192
+ this.callRefreshList();
4213
4193
  break;
4214
4194
  case 'assurance':
4215
4195
  this.responsibilityForm.assuranceList = this.setList(this.assuranceCategoriesList, selectedItems, 'category_id');