fixed bug
This commit is contained in:
parent
66f2637884
commit
b0a156ce17
|
@ -21,7 +21,7 @@ export class DmpCloneDialogEditorModel implements CloneDmpPersist {
|
|||
this.id = item.id;
|
||||
this.label = item.label + " New";
|
||||
this.description = item.description;
|
||||
this.descriptions = item.descriptions.map(d=> d.id);
|
||||
this.descriptions = item.descriptions?.map(d=> d.id);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ export class DmpNewVersionDialogEditorModel implements NewVersionDmpPersist {
|
|||
this.id = item.id;
|
||||
this.label = item.label;
|
||||
this.description = item.description;
|
||||
this.descriptions = item.descriptions.map(d=> d.id);
|
||||
this.descriptions = item.descriptions?.map(d=> d.id);
|
||||
this.blueprintId = item.blueprint.id;
|
||||
this.hash= item.hash;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue