Release Nouri 1.3.2 with mobile selection improvements

This commit is contained in:
2026-04-29 10:54:40 +02:00
parent 1034ea72a8
commit 8fc2492918
12 changed files with 402 additions and 41 deletions
+1 -2
View File
@@ -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,