Initialize raw ingredients

Fixes #356
This commit is contained in:
Florian Dupret 2021-04-30 13:12:09 +02:00
commit b055fb9b2b

View file

@ -75,6 +75,7 @@ export default {
this.getRawIngredients();
},
getRawIngredients() {
this.rawIngredients = [];
this.ingredients.forEach(element => {
this.rawIngredients.push(element.recipe_ingredient);
});