vcomply-workflow-engine 6.1.62 → 6.1.63
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.
|
@@ -7688,7 +7688,7 @@ class GrcObjectContainerComponent {
|
|
|
7688
7688
|
}
|
|
7689
7689
|
ngOnInit() {
|
|
7690
7690
|
this.grcPayload = JSON.parse(JSON.stringify(this.grcService.GRC_PAYLOAD));
|
|
7691
|
-
this.grcPayload.type = this.grcType;
|
|
7691
|
+
this.grcPayload.type = this.grcType ?? 0;
|
|
7692
7692
|
this.listObject = this.grcService.LIST_OBJECT;
|
|
7693
7693
|
this._initiateAPI();
|
|
7694
7694
|
this.getSubscriptionDetails();
|
|
@@ -7851,8 +7851,8 @@ class GrcObjectContainerComponent {
|
|
|
7851
7851
|
this.setListPayload(type);
|
|
7852
7852
|
}
|
|
7853
7853
|
changeAttributesType(event) {
|
|
7854
|
-
this.grcType = event;
|
|
7855
|
-
this.grcPayload.type = event;
|
|
7854
|
+
this.grcType = event ?? 0;
|
|
7855
|
+
this.grcPayload.type = event ?? 0;
|
|
7856
7856
|
this.setDefaultGRCObjectType();
|
|
7857
7857
|
}
|
|
7858
7858
|
_initiateAPI() {
|
|
@@ -8100,8 +8100,7 @@ class GrcObjectContainerComponent {
|
|
|
8100
8100
|
console.log('this.selectedAttributes if', this.selectedAttributes);
|
|
8101
8101
|
this.grcPayload.attributes = this.selectedAttributes?.attributes;
|
|
8102
8102
|
}
|
|
8103
|
-
if (
|
|
8104
|
-
this.grcService.checkValidation(this.grcPayload, this.grcForm?.grcObjectType)) {
|
|
8103
|
+
if (this.grcService.checkValidation(this.grcPayload, this.grcForm?.grcObjectType)) {
|
|
8105
8104
|
console.log('this.grcPayload 3', this.grcPayload, this.grcForm, this.selectedAttributes);
|
|
8106
8105
|
this.isLoading = true;
|
|
8107
8106
|
this.uiKitService.isLoader = true;
|
|
@@ -8112,6 +8111,7 @@ class GrcObjectContainerComponent {
|
|
|
8112
8111
|
}
|
|
8113
8112
|
let PAYLOAD = JSON.parse(JSON.stringify(this.grcPayload));
|
|
8114
8113
|
PAYLOAD.owners = this.getOwnersExceptDefault(PAYLOAD.owners);
|
|
8114
|
+
console.log('this.grcPayload 2', this.grcPayload, this.grcForm, this.selectedAttributes);
|
|
8115
8115
|
// Transform responsibilities data
|
|
8116
8116
|
PAYLOAD.linked_responsibilities =
|
|
8117
8117
|
this.CommonService.transformResponsibilitiesData(this.selectedResponsibility.map((resp) => resp?.rid), this.linkedResponsibilities?.responsibilities?.linked || []);
|