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:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user