From 703db2931fcd4ef7fc8f7cad91f7f97f1e16a370 Mon Sep 17 00:00:00 2001 From: Zdenek Stursa <90236729+zdenek-stursa@users.noreply.github.com> Date: Tue, 12 May 2026 17:29:30 +0200 Subject: [PATCH] fix: prevent double-scaling of sub-recipe ingredients in shopping list (#7537) Co-authored-by: Claude Sonnet 4.6 --- .../components/Domain/Recipe/RecipeDialogAddToShoppingList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Domain/Recipe/RecipeDialogAddToShoppingList.vue b/frontend/app/components/Domain/Recipe/RecipeDialogAddToShoppingList.vue index 649e39d23..a217facdf 100644 --- a/frontend/app/components/Domain/Recipe/RecipeDialogAddToShoppingList.vue +++ b/frontend/app/components/Domain/Recipe/RecipeDialogAddToShoppingList.vue @@ -321,7 +321,7 @@ async function consolidateRecipesIntoSections(recipes: RecipeWithScale[]) { const householdsWithFood = subIng.food?.householdsWithIngredientFood || []; ownIngs.push({ checked: !householdsWithFood.includes(currentHouseholdSlug.value), - ingredient: { ...subIng, quantity: (ing.quantity || 1) * (subIng.quantity || 1) }, + ingredient: subIng, }); } }