vcomply-workflow-engine 7.3.7 → 7.3.9
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.
|
@@ -32040,7 +32040,7 @@ class WorkflowComplianceComponent {
|
|
|
32040
32040
|
this.getOrgDetails();
|
|
32041
32041
|
this.getSubscriptionDetail();
|
|
32042
32042
|
this.setResponsibilityName();
|
|
32043
|
-
this.
|
|
32043
|
+
this.hideOptionFromMoreOptions();
|
|
32044
32044
|
}
|
|
32045
32045
|
checkCustomFields() {
|
|
32046
32046
|
if (!this.customFields.length) {
|
|
@@ -32055,10 +32055,6 @@ class WorkflowComplianceComponent {
|
|
|
32055
32055
|
this.organizationCommonService?.getOrgDetailsInfo()?.subscribe({
|
|
32056
32056
|
next: (res) => {
|
|
32057
32057
|
this.isRiskEnable = res?.enable_riskclass ? true : false;
|
|
32058
|
-
if (!res?.enable_riskclass) {
|
|
32059
|
-
this.hiddenList.push('RISK_CLASSIFICATION');
|
|
32060
|
-
this.hideElementsFromMoreOptions.emit(this.hiddenList);
|
|
32061
|
-
}
|
|
32062
32058
|
},
|
|
32063
32059
|
error: (err) => {
|
|
32064
32060
|
console.error(err);
|
|
@@ -32077,15 +32073,9 @@ class WorkflowComplianceComponent {
|
|
|
32077
32073
|
});
|
|
32078
32074
|
}
|
|
32079
32075
|
hideOptionFromMoreOptions() {
|
|
32080
|
-
|
|
32081
|
-
|
|
32082
|
-
|
|
32083
|
-
}
|
|
32084
|
-
if (this.subscriptionDetails[0]?.assurance_flag) {
|
|
32085
|
-
visibleOptions.push('ASSURANCE');
|
|
32086
|
-
}
|
|
32087
|
-
this.hiddenList = this.hiddenList?.filter((ele) => !visibleOptions.includes(ele));
|
|
32088
|
-
this.hideElementsFromMoreOptions.emit(this.hiddenList);
|
|
32076
|
+
setTimeout(() => {
|
|
32077
|
+
this.hideElementsFromMoreOptions.emit(this.hiddenList);
|
|
32078
|
+
}, 0);
|
|
32089
32079
|
}
|
|
32090
32080
|
activateSelector(type, event) {
|
|
32091
32081
|
this.activeSelector = event ? type : '';
|
|
@@ -32129,9 +32119,6 @@ class WorkflowComplianceComponent {
|
|
|
32129
32119
|
};
|
|
32130
32120
|
this.setAssessmentData([this.assessmentDetails], payload, 'assessment');
|
|
32131
32121
|
this.whatChanged(assessmentData);
|
|
32132
|
-
this.hiddenList.push('CHECKPOINTS');
|
|
32133
|
-
this.hiddenList.push('CHECKPOINTS_NEW');
|
|
32134
|
-
this.hideElementsFromMoreOptions.emit(this.hiddenList);
|
|
32135
32122
|
}
|
|
32136
32123
|
}
|
|
32137
32124
|
whatChanged(event) {
|