Fix blur effects and capitalize 'yes' in admin table

This commit is contained in:
Your Name
2025-04-29 18:34:14 -04:00
parent c9a754fc52
commit ac810b415a
2 changed files with 15 additions and 7 deletions

View File

@@ -198,13 +198,9 @@ const EventAdmin: React.FC = () => {
{rsvps.map((rsvp: RSVP) => (
<TableRow key={rsvp.id}>
<TableCell>{rsvp.name}</TableCell>
<TableCell>{rsvp.attending}</TableCell>
<TableCell>{rsvp.attending.charAt(0).toUpperCase() + rsvp.attending.slice(1)}</TableCell>
<TableCell>
{rsvp.bringing_guests === 'yes' ? (
`${rsvp.guest_count} - ${rsvp.guest_names}`
) : (
'No'
)}
{rsvp.bringing_guests === 'yes' ? `${rsvp.guest_count} (${rsvp.guest_names})` : 'No'}
</TableCell>
<TableCell>{rsvp.items_bringing}</TableCell>
<TableCell>