Merge branch 'dmp-refactoring' of code-repo.d4science.org:MaDgiK-CITE/argos into dmp-refactoring

This commit is contained in:
Efstratios Giannopoulos 2024-04-26 18:25:27 +03:00
commit f89074b695
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export class DmpCloneDialogEditorModel implements CloneDmpPersist {
public fromModel(item: Dmp): DmpCloneDialogEditorModel { public fromModel(item: Dmp): DmpCloneDialogEditorModel {
if (item) { if (item) {
this.id = item.id; this.id = item.id;
this.label = item.label; this.label = item.label + " New";
this.description = item.description; this.description = item.description;
if (item.descriptions) { this.descriptions = item.descriptions.map(x => x.id); } if (item.descriptions) { this.descriptions = item.descriptions.map(x => x.id); }
} }