clone add new to label

This commit is contained in:
amentis 2024-04-26 18:11:46 +03:00
parent e073fc718c
commit 7bda4a6b22
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 {
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); }
}