vcomply-workflow-engine 2.5.4 → 2.5.5

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.
@@ -3868,7 +3868,7 @@
3868
3868
  // event.placeholder
3869
3869
  };
3870
3870
  WorkflowComplianceComponent.prototype.assignFromFramework = function (freqObj) {
3871
- var _a;
3871
+ var _a, _b, _c;
3872
3872
  if (freqObj.data) {
3873
3873
  this.reset();
3874
3874
  this.activeDeselector();
@@ -3888,11 +3888,11 @@
3888
3888
  event.placeholder = this.frequencyPlaceholder;
3889
3889
  event.frequency_time = '11:59 pm';
3890
3890
  this.frequencyPopulation(event);
3891
- this.responsibilityForm.responsibility.name = freqObj.data.name;
3892
- this.responsibilityForm.objective = freqObj.data.objective;
3891
+ this.responsibilityForm.responsibility.name = (_a = freqObj.data.name) !== null && _a !== void 0 ? _a : '';
3892
+ this.responsibilityForm.objective = (_b = freqObj.data.objectives) !== null && _b !== void 0 ? _b : '';
3893
3893
  this.moreOptions.OBJECTIVE = true;
3894
3894
  this.populateOption.emit(['OBJECTIVE']);
3895
- this.selectedFrameworkValues = (_a = freqObj.selectedFrameworkData) !== null && _a !== void 0 ? _a : undefined;
3895
+ this.selectedFrameworkValues = (_c = freqObj.selectedFrameworkData) !== null && _c !== void 0 ? _c : undefined;
3896
3896
  }
3897
3897
  };
3898
3898
  WorkflowComplianceComponent.prototype.refreshAllLists = function () {