feat: lunch picker on attending-members card + admin slide-over
LunchPickForm shared between applicant dashboard rows (member-self / team-lead context) and the admin manifest's edit-pencil slide-over. Adds lunch.getMemberPick read for the per-row hydration. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2727,7 +2727,9 @@ export const applicantRouter = router({
|
||||
},
|
||||
finalistConfirmation: {
|
||||
include: {
|
||||
attendingMembers: { select: { userId: true, needsVisa: true } },
|
||||
attendingMembers: {
|
||||
select: { id: true, userId: true, needsVisa: true },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2757,6 +2759,7 @@ export const applicantRouter = router({
|
||||
project: {
|
||||
id: project.id,
|
||||
title: project.title,
|
||||
programId: project.program.id,
|
||||
teamMembers: project.teamMembers.map((tm) => ({
|
||||
userId: tm.userId,
|
||||
role: tm.role,
|
||||
|
||||
Reference in New Issue
Block a user