vcomply-workflow-engine 3.1.45 → 3.1.48
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.
- package/esm2020/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +3 -2
- package/fesm2015/vcomply-workflow-engine.mjs +2 -1
- package/fesm2015/vcomply-workflow-engine.mjs.map +1 -1
- package/fesm2020/vcomply-workflow-engine.mjs +2 -1
- package/fesm2020/vcomply-workflow-engine.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5414,11 +5414,12 @@ class GrcObjectContainerComponent {
|
|
|
5414
5414
|
this.hideElementsFromMoreOptions = new EventEmitter();
|
|
5415
5415
|
this.hideMoreOption = [];
|
|
5416
5416
|
this.authService.getUserInfo().subscribe((res) => {
|
|
5417
|
-
const riskPermission = res?.roleActions[res?.roleActions?.findIndex((ele) => ele
|
|
5417
|
+
const riskPermission = res?.roleActions[res?.roleActions?.findIndex((ele) => ele?.moduleName == 'risk')];
|
|
5418
5418
|
if (!riskPermission?.isActive) {
|
|
5419
5419
|
this.hideMoreOption.push('LINK_RISK_CATEGORIES_RISKS');
|
|
5420
5420
|
}
|
|
5421
5421
|
this.hideElementsFromMoreOptions.emit(this.hideMoreOption);
|
|
5422
|
+
console.log('===========================>', this.hideMoreOption, riskPermission);
|
|
5422
5423
|
});
|
|
5423
5424
|
}
|
|
5424
5425
|
ngOnDestroy() {
|