From 7fd8c9cd99b0136bf40fcdaa9c5a72658aed1d27 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 27 Oct 2024 19:27:33 +0100 Subject: [PATCH] Flag tentative stsatus with a yellow icon --- app/lib/definitions.ts | 2 +- app/ui/guests/table.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/definitions.ts b/app/lib/definitions.ts index 165d137..17063fe 100644 --- a/app/lib/definitions.ts +++ b/app/lib/definitions.ts @@ -21,7 +21,7 @@ export type Guest = { name: string; email: string; group_name: string; - status: 'Considered' | 'Invited' | 'Confirmed' | 'Declined'; + status: 'Considered' | 'Invited' | 'Confirmed' | 'Declined' | 'Tentative'; } export type Group = { diff --git a/app/ui/guests/table.tsx b/app/ui/guests/table.tsx index f9094ec..608c2ef 100644 --- a/app/ui/guests/table.tsx +++ b/app/ui/guests/table.tsx @@ -73,6 +73,7 @@ export default function guestsTable() { 'bg-blue-400': guest.status === 'Invited', 'bg-green-600': guest.status === 'Confirmed', 'bg-red-400': guest.status === 'Declined', + 'bg-yellow-400': guest.status === 'Tentative', } )}>