@hmcts/ccd-case-ui-toolkit 6.19.14 → 6.19.15

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.
@@ -27838,7 +27838,7 @@
27838
27838
  var _d;
27839
27839
  return Object.assign(o, (_d = {}, _d[key.id] = key.value, _d));
27840
27840
  }, {});
27841
- this.allFieldsValues = Object.assign(this.metadataFieldsObject, this.editForm.getRawValue().data);
27841
+ this.allFieldsValues = Object.assign(this.metadataFieldsObject ? this.metadataFieldsObject : {}, this.editForm.getRawValue().data);
27842
27842
  // Indicates if the submission is for a Case Flag, as opposed to a "regular" form submission, by the presence of
27843
27843
  // a FlagLauncher field in the event trigger
27844
27844
  this.caseEdit.isCaseFlagSubmission =