vcomply-workflow-engine 2.9.26 → 2.9.28

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.
@@ -5870,16 +5870,18 @@
5870
5870
  if (this.mode !== 'EDIT') {
5871
5871
  window.location.href = url;
5872
5872
  }
5873
- this.showSmiley = false;
5874
- this.uiKitService.isSmileyOn = false;
5875
- this.closeWorkflow.emit();
5873
+ this.closeSmiley(urlSubstring);
5876
5874
  this.reset();
5877
5875
  };
5878
5876
  WorkflowComplianceComponent.prototype.closeSmiley = function (event) {
5879
5877
  this.showSmiley = false;
5880
5878
  this.uiKitService.isSmileyOn = false;
5881
5879
  // this.closeWorkflow.emit(this.responsibilityData);
5882
- this.closeWorkflow.emit({ evt: this.responsibilityData, confirm: false });
5880
+ var emitData = { evt: this.responsibilityData, confirm: false, url: '' };
5881
+ if (event) {
5882
+ emitData.url = event;
5883
+ }
5884
+ this.closeWorkflow.emit(emitData);
5883
5885
  };
5884
5886
  // for edit responsibility
5885
5887
  WorkflowComplianceComponent.prototype.frequencyDataPopulation = function (event) {