mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
Fix https://github.com/TandoorRecipes/recipes/issues/3787 Adds a '?servings=42' query param to RecipeViewPage, and propagates it to child views via a prop. The ingredientFactor is computed based on this param if it is present, and defaults to recipe servings otherwise. This query param is set when comming from: * Home page's HorizontalRecipeWindow * MealPlanEditor This commit also makes the RecipeView's Activity form reactive on the number of servings, before creating a comment.