vcomply-workflow-engine 3.4.11 → 3.4.12
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 +2 -3
- package/fesm2015/vcomply-workflow-engine.mjs +3 -4
- package/fesm2015/vcomply-workflow-engine.mjs.map +1 -1
- package/fesm2020/vcomply-workflow-engine.mjs +1 -2
- package/fesm2020/vcomply-workflow-engine.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6355,7 +6355,6 @@ class GrcObjectContainerComponent {
|
|
|
6355
6355
|
this.resetForm = new EventEmitter();
|
|
6356
6356
|
this.hideElementsFromMoreOptions = new EventEmitter();
|
|
6357
6357
|
this.hideMoreOption = [];
|
|
6358
|
-
this.getSubscriptionDetails();
|
|
6359
6358
|
}
|
|
6360
6359
|
ngOnDestroy() {
|
|
6361
6360
|
this.resetGRCForm();
|
|
@@ -6365,12 +6364,12 @@ class GrcObjectContainerComponent {
|
|
|
6365
6364
|
this.grcPayload.type = this.grcType;
|
|
6366
6365
|
this.listObject = this.grcService.LIST_OBJECT;
|
|
6367
6366
|
this._initiateAPI();
|
|
6367
|
+
this.getSubscriptionDetails();
|
|
6368
6368
|
}
|
|
6369
6369
|
getSubscriptionDetails() {
|
|
6370
6370
|
this.authService.getSubscriptionDetails().subscribe((res) => {
|
|
6371
|
-
var _a
|
|
6372
|
-
|
|
6373
|
-
if (!((_b = res[0]) === null || _b === void 0 ? void 0 : _b.risk_flag)) {
|
|
6371
|
+
var _a;
|
|
6372
|
+
if (!((_a = res[0]) === null || _a === void 0 ? void 0 : _a.risk_flag)) {
|
|
6374
6373
|
this.hideMoreOption.push('LINK_RISK_CATEGORIES_RISKS');
|
|
6375
6374
|
this.hideElementsFromMoreOptions.emit(this.hideMoreOption);
|
|
6376
6375
|
}
|