Fix items formatting to respect newlines

This commit is contained in:
Your Name
2025-04-29 18:43:51 -04:00
parent 2584c241a5
commit a7a0f27a4b

View File

@@ -206,7 +206,7 @@ const EventAdmin: React.FC = () => {
}
</TableCell>
<TableCell>
{rsvp.items_bringing.split(/[,\s]+/).filter(Boolean).join(', ')}
{rsvp.items_bringing.split('\n').map(item => item.trim()).filter(Boolean).join(', ')}
</TableCell>
<TableCell>
<IconButton