vcomply-workflow-engine 2.6.189 → 2.6.190

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.
@@ -3809,7 +3809,14 @@
3809
3809
  _this.actionButtons = [
3810
3810
  { buttonText: 'Go to risk treatment', class: 'blue-btn', id: 'view' },
3811
3811
  ];
3812
- _this.populateOption.emit(['RC']);
3812
+ // Previously there was only RC was emitting which made the checked options to de check now checking the condition and sending all the selected options
3813
+ var checkedMoreOptions = [];
3814
+ for (var key in _this.moreOptions) {
3815
+ if (_this.moreOptions[key]) {
3816
+ checkedMoreOptions.push(key);
3817
+ }
3818
+ }
3819
+ _this.populateOption.emit(checkedMoreOptions);
3813
3820
  }
3814
3821
  }, function (err) {
3815
3822
  console.error(err);