vcomply-workflow-engine 3.4.58 → 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.
@@ -23983,12 +23983,6 @@ class WorkflowComplianceComponent {
23983
23983
  }
23984
23984
  });
23985
23985
  this.setResponsibilityName();
23986
- if (this.assessmentDetails?.assessment_type?.toLowerCase() ===
23987
- 'compliance_audit') {
23988
- this.hiddenList.push('CHECKPOINTS');
23989
- this.hiddenList.push('CHECKPOINTS_NEW');
23990
- this.populateOption.emit(['ASSESSMENT']);
23991
- }
23992
23986
  this.hideElementsFromMoreOptions.emit(this.hiddenList);
23993
23987
  }
23994
23988
  activateSelector(type, event) {
@@ -24012,6 +24006,9 @@ class WorkflowComplianceComponent {
24012
24006
  };
24013
24007
  this.setAssessmentData([this.assessmentDetails], payload, 'assessment');
24014
24008
  this.whatChanged(assessmentData);
24009
+ this.hiddenList.push('CHECKPOINTS');
24010
+ this.hiddenList.push('CHECKPOINTS_NEW');
24011
+ this.hideElementsFromMoreOptions.emit(this.hiddenList);
24015
24012
  }
24016
24013
  }
24017
24014
  whatChanged(event) {