vcomply-workflow-engine 3.1.36 → 3.1.38
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/more-option/more-option.component.mjs +2 -2
- package/esm2020/lib/pipes/dom-sanitizer.pipe.mjs +1 -1
- package/esm2020/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +6 -2
- package/fesm2015/vcomply-workflow-engine.mjs +6 -2
- package/fesm2015/vcomply-workflow-engine.mjs.map +1 -1
- package/fesm2020/vcomply-workflow-engine.mjs +6 -2
- package/fesm2020/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5450,7 +5450,7 @@ class GrcObjectContainerComponent {
|
|
|
5450
5450
|
this.authService.getUserInfo().subscribe((res) => {
|
|
5451
5451
|
var _a;
|
|
5452
5452
|
const complianceSubmodule = res === null || res === void 0 ? void 0 : res.roleActions[(_a = res === null || res === void 0 ? void 0 : res.roleActions) === null || _a === void 0 ? void 0 : _a.findIndex((ele) => ele.moduleName == 'risk')];
|
|
5453
|
-
if ((complianceSubmodule === null || complianceSubmodule === void 0 ? void 0 : complianceSubmodule.isActive)
|
|
5453
|
+
if ((complianceSubmodule === null || complianceSubmodule === void 0 ? void 0 : complianceSubmodule.isActive) === 0) {
|
|
5454
5454
|
this.hideMoreOption.push('LINK_RISK_CATEGORIES_RISKS');
|
|
5455
5455
|
}
|
|
5456
5456
|
this.hideElementsFromMoreOptions.emit(this.hideMoreOption);
|
|
@@ -5685,6 +5685,8 @@ class GrcObjectContainerComponent {
|
|
|
5685
5685
|
item.label = (_b = OBJECT_LABEL[(_a = item === null || item === void 0 ? void 0 : item.label) === null || _a === void 0 ? void 0 : _a.toUpperCase()]) !== null && _b !== void 0 ? _b : item === null || item === void 0 ? void 0 : item.label;
|
|
5686
5686
|
return item;
|
|
5687
5687
|
});
|
|
5688
|
+
this.ORIGINAL_GRC_ATTRIBUTES = JSON.parse(JSON.stringify(this.OBJECT_TYPE));
|
|
5689
|
+
console.log('this.ORIGINAL_GRC_ATTRIBUTES', this.ORIGINAL_GRC_ATTRIBUTES);
|
|
5688
5690
|
if (this.MODE === 'EDIT') {
|
|
5689
5691
|
this.OBJECT_TYPE[this.grcType].attributes =
|
|
5690
5692
|
this.grcPayload.attributes;
|
|
@@ -5860,6 +5862,8 @@ class GrcObjectContainerComponent {
|
|
|
5860
5862
|
this.isFormSubmitted = false;
|
|
5861
5863
|
this.isDuplicateName = false;
|
|
5862
5864
|
this.uiKitService.isSmileyOn = false;
|
|
5865
|
+
this.OBJECT_TYPE = JSON.parse(JSON.stringify(this.ORIGINAL_GRC_ATTRIBUTES));
|
|
5866
|
+
this.setDefaultGRCObjectType();
|
|
5863
5867
|
this.resetListObjectSelection();
|
|
5864
5868
|
this.mapUserList({ data: this.listObject.OWNER.data.assigneesList });
|
|
5865
5869
|
}
|
|
@@ -30333,7 +30337,7 @@ class MoreOptionComponent {
|
|
|
30333
30337
|
tooltipTitle: 'LINK RISKS',
|
|
30334
30338
|
tooltipMessage: `This option lets you link a GRC Object with related risks.`,
|
|
30335
30339
|
checked: false,
|
|
30336
|
-
hidden:
|
|
30340
|
+
hidden: false,
|
|
30337
30341
|
code: 'LINK_RISK_CATEGORIES_RISKS',
|
|
30338
30342
|
},
|
|
30339
30343
|
{
|