Merge branch 'dmp-refactoring' of code-repo.d4science.org:MaDgiK-CITE/argos into dmp-refactoring
This commit is contained in:
commit
f89074b695
|
@ -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); }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue