@hmcts/ccd-case-ui-toolkit 7.0.21-upload-timestamp → 7.0.22-upload-timestamp

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.
@@ -13488,6 +13488,9 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
13488
13488
  if (documentHash) {
13489
13489
  this.uploadedDocument.get(WriteDocumentFieldComponent.DOCUMENT_HASH).setValue(documentHash);
13490
13490
  }
13491
+ if (this.uploadedDocument.get(WriteDocumentFieldComponent.UPLOAD_TIMESTAMP)) {
13492
+ this.uploadedDocument.removeControl(WriteDocumentFieldComponent.UPLOAD_TIMESTAMP);
13493
+ }
13491
13494
  }
13492
13495
  createDocumentFormWithValidator(document) {
13493
13496
  let documentFormGroup = {