From 63d07096bfc483d96d3909a516520b0f14999dd7 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 27 Oct 2024 19:37:24 +0100 Subject: [PATCH] Include transition to the transitive status --- app/ui/guests/table.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app/ui/guests/table.tsx b/app/ui/guests/table.tsx index 5e90d2b..f5c356c 100644 --- a/app/ui/guests/table.tsx +++ b/app/ui/guests/table.tsx @@ -29,6 +29,7 @@ export default function guestsTable() { const handleInviteGuest = (e: React.MouseEvent) => handleGuestChange(e, 'invited'); const handleConfirmGuest = (e: React.MouseEvent) => handleGuestChange(e, 'confirmed'); const handleDeclineGuest = (e: React.MouseEvent) => handleGuestChange(e, 'declined'); + const handleTentativeGuest = (e: React.MouseEvent) => handleGuestChange(e, 'tentative'); const handleGuestChange = (e: React.MouseEvent, status:string) => { fetch("/api/guests/bulk_update.json", @@ -105,12 +106,13 @@ export default function guestsTable() { {guest.status === 'Considered' && ()} - {guest.status === 'Invited' && ()} - {guest.status === 'Invited' && ()} + {guest.status === 'Invited' && ( + <> + + + + + )} ))}