Skip to content

Commit

Permalink
aasd
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed Feb 9, 2024
1 parent 9eb42e7 commit c4934ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/src/components/pages/dashboard/table/TableMealItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ export const TableMealItem: React.FC<TableMealItemProps> = (props) => {
);

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

const disabled =
Expand Down

0 comments on commit c4934ea

Please sign in to comment.