mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -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):
|
||||
quantity: NoneFloat = 1
|
||||
quantity: NoneFloat = 0
|
||||
unit: IngredientUnit | CreateIngredientUnit | None = None
|
||||
food: IngredientFood | CreateIngredientFood | None = None
|
||||
note: str | None = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue