diff --git a/vue3/src/components/inputs/StepEditor.vue b/vue3/src/components/inputs/StepEditor.vue index b9e6278a7..265bf2a1a 100644 --- a/vue3/src/components/inputs/StepEditor.vue +++ b/vue3/src/components/inputs/StepEditor.vue @@ -331,12 +331,14 @@ function parseAndInsertIngredients() { } }) Promise.allSettled(promises).then(r => { + console.log(r) r.forEach(i => { + console.log(i) step.value.ingredients.push({ - amount: i.amount, - food: i.food, - unit: i.unit, - note: i.note + amount: i.value.amount, + food: i.value.food, + unit: i.value.unit, + note: i.value.note } as Ingredient) }) ingredientTextInput.value = ""