fixed ingredient display on preview
This commit is contained in:
parent
c8a4861df8
commit
3da74505d6
@ -958,7 +958,8 @@
|
|||||||
unit: {id: Math.random() * 1000, text: response.body.unit},
|
unit: {id: Math.random() * 1000, text: response.body.unit},
|
||||||
amount: String(response.body.amount),
|
amount: String(response.body.amount),
|
||||||
ingredient: {id: Math.random() * 1000, text: response.body.food},
|
ingredient: {id: Math.random() * 1000, text: response.body.food},
|
||||||
note: response.body.note
|
note: response.body.note,
|
||||||
|
original: v
|
||||||
}
|
}
|
||||||
this.recipe_json.recipeIngredient.push(new_ingredient)
|
this.recipe_json.recipeIngredient.push(new_ingredient)
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user