vcomply-workflow-engine 3.1.23 → 3.1.24

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.
@@ -5602,6 +5602,7 @@ class GrcObjectContainerComponent {
5602
5602
  this.resetGRCForm();
5603
5603
  }
5604
5604
  else if (event === 'view') {
5605
+ this.resetGRCForm();
5605
5606
  this.viewGRC();
5606
5607
  }
5607
5608
  }
@@ -5609,7 +5610,7 @@ class GrcObjectContainerComponent {
5609
5610
  this.showSmiley = false;
5610
5611
  this.isLoading = false;
5611
5612
  this.uiKitService.isSmileyOn = false;
5612
- this.resetGRCObject();
5613
+ this.resetGRCForm();
5613
5614
  this.closeWorkflow.emit({ evt: this.addedGRC, confirm: false });
5614
5615
  }
5615
5616
  resetGRCForm() {
@@ -5636,8 +5637,8 @@ class GrcObjectContainerComponent {
5636
5637
  if (this.MODE !== 'EDIT') {
5637
5638
  window.location.href = url;
5638
5639
  }
5639
- this.closeSmiley('');
5640
5640
  this.resetGRCForm();
5641
+ this.closeSmiley('');
5641
5642
  }
5642
5643
  setOtherGRCTypesFormate() {
5643
5644
  const grcTypes = ['assets', 'vendors', 'processes', 'inventory'];