still have some bug about select file
This commit is contained in:
commit
ad32fe38ea
11 changed files with 325 additions and 130 deletions
|
|
@ -186,6 +186,14 @@ export class RecipeDetailsComponent implements OnInit {
|
|||
message: 'Do you want to save changes?',
|
||||
confirmCallBack: () => {
|
||||
console.log('confirm save');
|
||||
// TODO: update value in targeted recipe
|
||||
this._recipeService.editChanges(
|
||||
this._recipeService.getCurrentVersion(),
|
||||
{
|
||||
...this.recipeDetail
|
||||
}
|
||||
);
|
||||
console.log("Sending changes")
|
||||
this._router.navigate(['/recipes']);
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue