diff --git a/dmp-frontend/src/app/ui/dmp/clone-dialog/dmp-clone-dialog.editor.model.ts b/dmp-frontend/src/app/ui/dmp/clone-dialog/dmp-clone-dialog.editor.model.ts index 72a2a32df..9222db584 100644 --- a/dmp-frontend/src/app/ui/dmp/clone-dialog/dmp-clone-dialog.editor.model.ts +++ b/dmp-frontend/src/app/ui/dmp/clone-dialog/dmp-clone-dialog.editor.model.ts @@ -21,7 +21,6 @@ export class DmpCloneDialogEditorModel implements CloneDmpPersist { this.id = item.id; this.label = item.label + " New"; this.description = item.description; - if (item.descriptions) { this.descriptions = item.descriptions.map(x => x.id); } } return this; } diff --git a/dmp-frontend/src/app/ui/dmp/new-version-dialog/dmp-new-version-dialog.editor.model.ts b/dmp-frontend/src/app/ui/dmp/new-version-dialog/dmp-new-version-dialog.editor.model.ts index 5b0e98d98..12fcfae85 100644 --- a/dmp-frontend/src/app/ui/dmp/new-version-dialog/dmp-new-version-dialog.editor.model.ts +++ b/dmp-frontend/src/app/ui/dmp/new-version-dialog/dmp-new-version-dialog.editor.model.ts @@ -24,7 +24,6 @@ export class DmpNewVersionDialogEditorModel implements NewVersionDmpPersist { this.label = item.label; this.description = item.description; this.blueprintId = item.blueprint.id; - if (item.descriptions) { this.descriptions = item.descriptions.map(x => x.id); } this.hash= item.hash; } return this;