vcomply-workflow-engine 2.8.15 → 2.8.16

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.
@@ -3793,8 +3793,6 @@
3793
3793
  this.userListLoader = false;
3794
3794
  this.assignorsListLoader = false;
3795
3795
  this.unSubscribeProgram = new rxjs.Subject();
3796
- this.featureFlag_groups = this.feature.isFeatureEnabled('ff_responsibility_groups');
3797
- this.isResponsibilitySimplified = this.feature.isFeatureEnabled('ff_responsibility_simplification');
3798
3796
  this.authService.getUserInfo().subscribe(function (res) {
3799
3797
  var complianceSubmodule = res.roleActions[res.roleActions.findIndex(function (ele) { return ele.moduleName == 'compliance'; })].subModule;
3800
3798
  var permissions = complianceSubmodule[complianceSubmodule.findIndex(function (ele) { return ele.subModuleName == 'Programs'; })].permissions;
@@ -3835,6 +3833,8 @@
3835
3833
  });
3836
3834
  WorkflowComplianceComponent.prototype.ngOnInit = function () {
3837
3835
  var _this = this;
3836
+ this.featureFlag_groups = this.feature.isFeatureEnabled('ff_responsibility_groups');
3837
+ this.isResponsibilitySimplified = this.feature.isFeatureEnabled('ff_responsibility_simplification');
3838
3838
  this.pickerChanged.emit(false);
3839
3839
  // this.responsibilityForm.responsibility.name = "abcdef"
3840
3840
  this.loader = true;
@@ -4279,7 +4279,7 @@
4279
4279
  }
4280
4280
  _this.groupsList = groups;
4281
4281
  _this.groupsListLoaded = true;
4282
- if (_this.featureFlag_groups && ((_a = _this.OrgGroup) === null || _a === void 0 ? void 0 : _a.length) && ((_b = _this.responsibilityForm.program) === null || _b === void 0 ? void 0 : _b.length)) {
4282
+ if (_this.featureFlag_groups && ((_a = _this.OrgGroup) === null || _a === void 0 ? void 0 : _a.length) && ((_b = _this.responsibilityForm.program) === null || _b === void 0 ? void 0 : _b.length) && program_id) {
4283
4283
  _this.refreshListsWhileProgramSelected();
4284
4284
  }
4285
4285
  else {