diff --git a/frontend/src/components/MealPlan/ShoppingListDialog.vue b/frontend/src/components/MealPlan/ShoppingListDialog.vue index 8bd2da175cba..a3b635402575 100644 --- a/frontend/src/components/MealPlan/ShoppingListDialog.vue +++ b/frontend/src/components/MealPlan/ShoppingListDialog.vue @@ -22,7 +22,7 @@ @@ -75,8 +75,9 @@ export default { this.getRawIngredients(); }, getRawIngredients() { + this.rawIngredients = []; this.ingredients.forEach(element => { - this.rawIngredients.push(element.recipeIngredient); + this.rawIngredients.push(element.recipe_ingredient); }); this.rawIngredients = this.rawIngredients.flat();