feat: save the date tracking
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import Link from "next/link"
|
||||
|
||||
import { CopyInviteButton } from "@/components/admin/copy-invite-button"
|
||||
import { SaveTheDateCheckbox } from "@/components/admin/save-the-date-checkbox"
|
||||
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
|
||||
import { Badge } from "@/components/ui/badge"
|
||||
import { Button } from "@/components/ui/button"
|
||||
@@ -91,6 +92,7 @@ export default async function GuestsPage({
|
||||
<TableHead>Language</TableHead>
|
||||
<TableHead>Members</TableHead>
|
||||
<TableHead>Status</TableHead>
|
||||
<TableHead>Save the date</TableHead>
|
||||
<TableHead>Contact</TableHead>
|
||||
<TableHead className="text-right">Actions</TableHead>
|
||||
</TableRow>
|
||||
@@ -127,6 +129,13 @@ export default async function GuestsPage({
|
||||
{invitation.derivedStatus}
|
||||
</Badge>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<SaveTheDateCheckbox
|
||||
invitationId={invitation.id}
|
||||
displayName={invitation.displayName}
|
||||
sent={invitation.saveTheDateSentAt !== null}
|
||||
/>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<div className="space-y-1 text-sm">
|
||||
<p>{invitation.contactEmail ?? "—"}</p>
|
||||
|
||||
Reference in New Issue
Block a user