mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
fixed serializer and step editor
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user