vcomply-workflow-engine 3.1.19 → 3.1.20

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.
@@ -5335,6 +5335,7 @@ class GrcObjectContainerComponent {
5335
5335
  }
5336
5336
  changeAttributesType(event) {
5337
5337
  this.grcType = event;
5338
+ this.grcPayload.type = event;
5338
5339
  this.setDefaultGRCObjectType();
5339
5340
  }
5340
5341
  _initiateAPI() {
@@ -5516,6 +5517,7 @@ class GrcObjectContainerComponent {
5516
5517
  }
5517
5518
  }
5518
5519
  resetGRCObject() {
5520
+ this.MODE = 'CREATE';
5519
5521
  this.grcPayload = JSON.parse(JSON.stringify(this.grcService.GRC_PAYLOAD));
5520
5522
  this.grcPayload.type = this.grcType;
5521
5523
  this.isFormSubmitted = false;