feat: enhance EventModal with alert and recurrence labels, add view/edit mode toggle

This commit is contained in:
Linus Rath
2026-03-16 22:17:59 +01:00
parent 0f5d030d5f
commit d86d109725
4 changed files with 265 additions and 48 deletions
+2 -2
View File
@@ -138,9 +138,9 @@ export function ParticipantInput({ participants, onAdd, onRemove, disabled }: Pa
{participants.length > 0 && (
<div className="flex flex-wrap gap-1.5">
{participants.map((p) => (
{participants.map((p, i) => (
<span
key={p.email}
key={`${p.email}-${i}`}
className="inline-flex items-center gap-1 px-2 py-1 text-xs rounded-full bg-muted text-foreground max-w-[200px]"
>
<span className="truncate">{p.name || p.email}</span>