fixed serializer and step editor

This commit is contained in:
vabene1111
2025-01-18 14:46:19 +01:00
parent efa9e8aa3b
commit cba80aeac9
2 changed files with 5 additions and 5 deletions

View File

@@ -324,10 +324,10 @@ function parseAndInsertIngredients() {
Promise.allSettled(promises).then(r => {
r.forEach(i => {
step.value.ingredients.push({
amount: i.value.amount,
food: i.value.food,
unit: i.value.unit,
note: i.value.note
amount: i.amount,
food: i.food,
unit: i.unit,
note: i.note
} as Ingredient)
})
ingredientTextInput.value = ""