|
|
@ -57,6 +57,7 @@ export class RecipeAddComponent {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.recipes.edit({ id: this.#recipeId, ...partial });
|
|
|
|
this.recipes.edit({ id: this.#recipeId, ...partial });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.router.navigateByUrl('recipes');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onAddIngredient(): void {
|
|
|
|
onAddIngredient(): void {
|
|
|
|