fix: pre-workout group not showing up
This commit is contained in:
@@ -1242,6 +1242,7 @@ function groupFoodEntriesByMeal(entries: FoodStorage[]): MealGroup[] {
|
|||||||
|
|
||||||
// Return only groups that have entries, in chronological order
|
// Return only groups that have entries, in chronological order
|
||||||
const orderedPeriods: MealPeriod[] = [
|
const orderedPeriods: MealPeriod[] = [
|
||||||
|
'pre-workout',
|
||||||
'breakfast', 'second-breakfast', 'lunch', 'snacks', 'dinner', 'night-snacks'
|
'breakfast', 'second-breakfast', 'lunch', 'snacks', 'dinner', 'night-snacks'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user