mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-11 04:45:22 -05: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user