add redirection

This commit is contained in:
bastien ollier
2024-06-17 14:15:42 +02:00
parent 0ea71914ed
commit a06cbe1759

View File

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