This commit is contained in:
parent
d9a791223d
commit
61fe15c8e1
|
@ -130,28 +130,7 @@ getProjects(muted? : boolean){
|
|||
);
|
||||
}
|
||||
|
||||
/*
|
||||
getDMPs(){
|
||||
this.serverService.listDmpsLabelID().subscribe(
|
||||
response =>{
|
||||
console.log("response");
|
||||
console.log(response);
|
||||
//let params = new Param();
|
||||
response.forEach((dmp) => {
|
||||
let params = new Param();
|
||||
params.key = dmp.id;
|
||||
params.value = dmp.label;
|
||||
this.datasetDropDown.options.push(params);
|
||||
},
|
||||
error => {
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
*/
|
||||
|
||||
showDatasets(){ //dmpId, event
|
||||
//this.dataSetVisibe = true;
|
||||
|
@ -187,7 +166,8 @@ SaveProject(){
|
|||
}
|
||||
|
||||
editRow(item, event){
|
||||
this.project = item; //this will have id - that defines whether it's an update or not
|
||||
this.project = Object.assign({}, item); //this will have id - that defines whether it's an update or not
|
||||
this.project.creationUser = {"id":this.project.creationUser.id};
|
||||
$("#newEditProjectModal").modal("show");
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue