From b055fb9b2b5c01c812dcb890bc07f54ff6faa968 Mon Sep 17 00:00:00 2001 From: Florian Dupret <34862846+sephrat@users.noreply.github.com> Date: Fri, 30 Apr 2021 13:12:09 +0200 Subject: [PATCH] Initialize raw ingredients Fixes #356 --- frontend/src/components/MealPlan/ShoppingListDialog.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/MealPlan/ShoppingListDialog.vue b/frontend/src/components/MealPlan/ShoppingListDialog.vue index 01e86ae92..a3b635402 100644 --- a/frontend/src/components/MealPlan/ShoppingListDialog.vue +++ b/frontend/src/components/MealPlan/ShoppingListDialog.vue @@ -75,6 +75,7 @@ export default { this.getRawIngredients(); }, getRawIngredients() { + this.rawIngredients = []; this.ingredients.forEach(element => { this.rawIngredients.push(element.recipe_ingredient); });