Release Nouri 1.3.2 with mobile selection improvements
This commit is contained in:
+1
-2
@@ -3019,8 +3019,7 @@ def apply_item_set_to_shopping(set_id: int) -> dict:
|
||||
|
||||
|
||||
def render_item_form(kind: str, *, item: dict | None, form_data: dict):
|
||||
food_search = form_data.get("food_search") or None
|
||||
foods = fetch_food_options(query=food_search if kind == "meal" else None)
|
||||
foods = fetch_food_options() if kind == "meal" else []
|
||||
return render_template(
|
||||
"items/form.html",
|
||||
kind=kind,
|
||||
|
||||
Reference in New Issue
Block a user