feat: edit guest from guest groups
Deploy On Server / Prepare Repository Remotely (push) Successful in 15s
Deploy On Server / Docker Compose Up (push) Successful in 19s
Deploy On Server / Prune Images (push) Successful in 2s
Deploy On Server / Remove .env File (push) Successful in 2s

This commit is contained in:
Raul Lugo
2026-09-18 23:43:16 +02:00
parent 77183bc5d6
commit 0ff76deb3a
5 changed files with 413 additions and 0 deletions
+10
View File
@@ -4,6 +4,7 @@ import { notFound } from "next/navigation"
import { CopyInviteButton } from "@/components/admin/copy-invite-button"
import { DeleteInvitationDialog } from "@/components/admin/delete-invitation-dialog"
import { InvitationLanguageSelect } from "@/components/admin/invitation-language-select"
import { MemberManagement } from "@/components/admin/member-management"
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
@@ -195,6 +196,7 @@ export default async function GuestDetailPage({
<TableHead>Attending</TableHead>
<TableHead>Meal</TableHead>
<TableHead>Dietary restrictions</TableHead>
<TableHead className="text-right">Actions</TableHead>
</TableRow>
</TableHeader>
<TableBody>
@@ -205,6 +207,14 @@ export default async function GuestDetailPage({
<TableCell>{formatBoolean(member.attending)}</TableCell>
<TableCell>{member.meal_preference ?? "—"}</TableCell>
<TableCell>{member.dietary_restrictions ?? "—"}</TableCell>
<TableCell className="text-right">
<MemberManagement
invitationId={detail.invitation.id}
memberId={member.id}
memberName={member.name}
canDelete={detail.members.length > 1}
/>
</TableCell>
</TableRow>
))}
</TableBody>