This commit is contained in:
Nikolaos Laskaris 2017-11-20 11:57:19 +02:00
parent d9a791223d
commit 61fe15c8e1
1 changed files with 2 additions and 22 deletions

View File

@ -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;