clone add new to label
This commit is contained in:
parent
e073fc718c
commit
7bda4a6b22
|
@ -19,7 +19,7 @@ export class DmpCloneDialogEditorModel implements CloneDmpPersist {
|
|||
public fromModel(item: Dmp): DmpCloneDialogEditorModel {
|
||||
if (item) {
|
||||
this.id = item.id;
|
||||
this.label = item.label;
|
||||
this.label = item.label + " New";
|
||||
this.description = item.description;
|
||||
if (item.descriptions) { this.descriptions = item.descriptions.map(x => x.id); }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue