diff --git a/projects/admin/src/app/record/custom-editor/document-editor/document-editor.component.ts b/projects/admin/src/app/record/custom-editor/document-editor/document-editor.component.ts index c7b7c0a38..dffdae2d5 100644 --- a/projects/admin/src/app/record/custom-editor/document-editor/document-editor.component.ts +++ b/projects/admin/src/app/record/custom-editor/document-editor/document-editor.component.ts @@ -82,6 +82,7 @@ export class DocumentEditorComponent { record => { if (record) { delete (record.metadata.pid); + delete (record.metadata.harvested); this.model = record.metadata; this._toastrService.success('Document duplicated'); } else {