vcomply-workflow-engine 3.4.59 → 3.4.60

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.
@@ -24199,7 +24199,6 @@ class WorkflowComplianceComponent {
24199
24199
  }
24200
24200
  }
24201
24201
  ngOnInit() {
24202
- var _a, _b;
24203
24202
  this.featureFlag_groups = this.feature.isFeatureEnabled('ff_responsibility_groups');
24204
24203
  this.isResponsibilitySimplified = this.feature.isFeatureEnabled('ff_responsibility_simplification');
24205
24204
  this.isResponsibilityRcLinkEnabled = this.feature.isFeatureEnabled('ff_responsibility_rc_link');
@@ -24238,13 +24237,6 @@ class WorkflowComplianceComponent {
24238
24237
  }
24239
24238
  });
24240
24239
  this.setResponsibilityName();
24241
- if (((_b = (_a = this.assessmentDetails) === null || _a === void 0 ? void 0 : _a.assessment_type) === null || _b === void 0 ? void 0 : _b.toLowerCase()) ===
24242
- 'compliance_audit') {
24243
- this.hiddenList.push('CHECKPOINTS');
24244
- this.hiddenList.push('CHECKPOINTS_NEW');
24245
- this.populateOption.emit(['ASSESSMENT']);
24246
- this.moreOptions.ASSESSMENT = true;
24247
- }
24248
24240
  this.hideElementsFromMoreOptions.emit(this.hiddenList);
24249
24241
  }
24250
24242
  activateSelector(type, event) {
@@ -24270,6 +24262,9 @@ class WorkflowComplianceComponent {
24270
24262
  };
24271
24263
  this.setAssessmentData([this.assessmentDetails], payload, 'assessment');
24272
24264
  this.whatChanged(assessmentData);
24265
+ this.hiddenList.push('CHECKPOINTS');
24266
+ this.hiddenList.push('CHECKPOINTS_NEW');
24267
+ this.hideElementsFromMoreOptions.emit(this.hiddenList);
24273
24268
  }
24274
24269
  }
24275
24270
  whatChanged(event) {