Fix blur effects and capitalize 'yes' in admin table
This commit is contained in:
@@ -28,7 +28,19 @@ const darkTheme = createTheme({
|
||||
styleOverrides: {
|
||||
root: {
|
||||
backdropFilter: 'blur(10px)',
|
||||
backgroundColor: 'rgba(30, 30, 30, 0.9)',
|
||||
backgroundColor: 'rgba(30, 30, 30, 0.9) !important',
|
||||
'&.MuiTableContainer-root': {
|
||||
backdropFilter: 'blur(10px)',
|
||||
backgroundColor: 'rgba(30, 30, 30, 0.9) !important',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
MuiTableCell: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
backdropFilter: 'blur(10px)',
|
||||
backgroundColor: 'rgba(30, 30, 30, 0.9) !important',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user