Skip to content

Commit

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

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

const disabled =
Expand Down

0 comments on commit b94ee34

Please sign in to comment.