Update components to display email instead of display_name

Replaced `display_name` with `email` in `WinnerBadge` and `WinnerCard` components. This ensures email addresses are shown consistently when rendering winner-related information.
This commit is contained in:
2026-02-06 13:22:23 +01:00
parent 59e224b4ca
commit fa89987f39
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ export default function WinnerCard({
<option value=""> kein Sieger </option>
{members.map((m) => (
<option key={m.id} value={m.id}>
{m.display_name}
{m.email}
</option>
))}
</select>