add redirection
This commit is contained in:
1 parent
0ea71914ed
commit
a06cbe1759
1 file changed
+1
@@ -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