add redirection

pull/4/head
Bastien OLLIER 3 weeks ago
parent 0ea71914ed
commit a06cbe1759

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

Loading…
Cancel
Save