Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed Feb 18, 2024
1 parent 767f3d2 commit 013ef4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/components/pages/dashboard/table/TableMealItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,15 @@ export const TableMealItem: React.FC<TableMealItemProps> = (props) => {
(m) =>
m.mealId === props.meal.id &&
dayjs(m.date).date() === dayjs(props.date).date() &&
groupItem?.id === m.weeklyMealGroupId &&
m.mealBoardPlanId === dashboardStore.activeMealBoardPlan?.id,
);

const selectedMealAdmins = (userMealsAdmin || []).filter(
(m) =>
m.mealId === props.meal.id &&
dayjs(m.date).date() === dayjs(props.date).date() &&
groupItem?.id === m.weeklyMealGroupId &&
m.mealBoardPlanId === dashboardStore.activeMealBoardPlan?.id,
);

Expand Down

0 comments on commit 013ef4d

Please sign in to comment.