From 9016ed3163940e045e456714b63b014e4b1cbe87 Mon Sep 17 00:00:00 2001 From: Florian Dupret <34862846+sephrat@users.noreply.github.com> Date: Fri, 30 Apr 2021 13:09:11 +0200 Subject: [PATCH] Refactor recipe to snake case --- frontend/src/components/MealPlan/ShoppingListDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/MealPlan/ShoppingListDialog.vue b/frontend/src/components/MealPlan/ShoppingListDialog.vue index 8bd2da175..01e86ae92 100644 --- a/frontend/src/components/MealPlan/ShoppingListDialog.vue +++ b/frontend/src/components/MealPlan/ShoppingListDialog.vue @@ -22,7 +22,7 @@ @@ -76,7 +76,7 @@ export default { }, getRawIngredients() { this.ingredients.forEach(element => { - this.rawIngredients.push(element.recipeIngredient); + this.rawIngredients.push(element.recipe_ingredient); }); this.rawIngredients = this.rawIngredients.flat();