mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
Default new ingredients to qty 0 so they render correctly
This commit is contained in:
parent
a9b1fb4c8c
commit
6fa1f6c4c6
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class IngredientUnit(CreateIngredientUnit):
|
||||||
|
|
||||||
|
|
||||||
class RecipeIngredientBase(MealieModel):
|
class RecipeIngredientBase(MealieModel):
|
||||||
quantity: NoneFloat = 1
|
quantity: NoneFloat = 0
|
||||||
unit: IngredientUnit | CreateIngredientUnit | None = None
|
unit: IngredientUnit | CreateIngredientUnit | None = None
|
||||||
food: IngredientFood | CreateIngredientFood | None = None
|
food: IngredientFood | CreateIngredientFood | None = None
|
||||||
note: str | None = ""
|
note: str | None = ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue