pre select all descriptions on dmp-clone and dmp-new-versions
This commit is contained in:
parent
a8a1e77138
commit
0f1b6ea4fb
|
@ -21,6 +21,7 @@ export class DmpCloneDialogEditorModel implements CloneDmpPersist {
|
||||||
this.id = item.id;
|
this.id = item.id;
|
||||||
this.label = item.label + " New";
|
this.label = item.label + " New";
|
||||||
this.description = item.description;
|
this.description = item.description;
|
||||||
|
this.descriptions = item.descriptions.map(d=> d.id);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@ export class DmpNewVersionDialogEditorModel implements NewVersionDmpPersist {
|
||||||
this.id = item.id;
|
this.id = item.id;
|
||||||
this.label = item.label;
|
this.label = item.label;
|
||||||
this.description = item.description;
|
this.description = item.description;
|
||||||
|
this.descriptions = item.descriptions.map(d=> d.id);
|
||||||
this.blueprintId = item.blueprint.id;
|
this.blueprintId = item.blueprint.id;
|
||||||
this.hash= item.hash;
|
this.hash= item.hash;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue