mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-07 06:25:21 +02:00
feat: keep original text on ingredient parse (#1102)
* Keep Original Text on Ingredient Parse * Reorder migration and update test
This commit is contained in:
parent
5e44d1c238
commit
6f309d7a89
7 changed files with 33 additions and 2 deletions
|
@ -54,6 +54,7 @@ class RecipeIngredient(MealieModel):
|
|||
food: Optional[Union[IngredientFood, CreateIngredientFood]]
|
||||
disable_amount: bool = True
|
||||
quantity: float = 1
|
||||
original_text: Optional[str]
|
||||
|
||||
# Ref is used as a way to distinguish between an individual ingredient on the frontend
|
||||
# It is required for the reorder and section titles to function properly because of how
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue