save edited dataset

This commit is contained in:
annampak 2017-10-30 19:08:33 +02:00
parent 407c520fe9
commit 3a37de1f9e
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ export class DatasetsComponent implements OnInit {
this.CallDatasets(); this.CallDatasets();
} }
SaveDataset(){ SaveDataset(){debugger;
if(this.dataset.id !=null) if(this.dataset.id ==null)
this.SaveNewDataset(); this.SaveNewDataset();
else else
this.SaveEditedDataset(); this.SaveEditedDataset();