add redirection
This commit is contained in:
@@ -57,6 +57,7 @@ export class RecipeAddComponent {
|
||||
} else {
|
||||
this.recipes.edit({ id: this.#recipeId, ...partial });
|
||||
}
|
||||
this.router.navigateByUrl('recipes');
|
||||
}
|
||||
|
||||
onAddIngredient(): void {
|
||||
|
Reference in New Issue
Block a user