Sort items alphabetically within categories, move live pill next to menu, fix category add button wrap, and fix meal plan ingredients import

This commit is contained in:
2026-10-15 22:11:02 +02:00
parent fef6956d62
commit 9665e245c2
3 changed files with 156 additions and 81 deletions
+3 -1
View File
@@ -1255,6 +1255,7 @@ def get_meal_plan_ingredients(year: int, week: int) -> List[Dict[str, Any]]:
"slot_label": slot_label,
"raw": raw_text,
"name": name,
"item_name": name,
"amount": amt,
"unit": unit
})
@@ -1264,7 +1265,8 @@ def get_meal_plan_ingredients(year: int, week: int) -> List[Dict[str, Any]]:
"recipe_id": recipe["id"],
"recipe_title": recipe["title"],
"slot_label": slot_label,
"items": items
"items": items,
"ingredients": items
})
return recipe_groups