diff --git a/src/components/dashboard/dashboard-shell.tsx b/src/components/dashboard/dashboard-shell.tsx index 490050f..860bd16 100644 --- a/src/components/dashboard/dashboard-shell.tsx +++ b/src/components/dashboard/dashboard-shell.tsx @@ -3426,24 +3426,48 @@ export function DashboardShell({ {donation.title} - - {currencyFormatter.format(donation.amount)} - {donation.expenseTitle ? ` · ${donation.expenseTitle}` : ""} - {donation.description ? ( {donation.description} ) : null} + + {currencyFormatter.format(donation.amount)} + {donation.expenseTitle ? ` · ${donation.expenseTitle}` : ""} + - setEditingDonationId(donation.id)}> + setEditingDonationId(donation.id)} + sx={{ + width: 36, + height: 36, + borderRadius: "50%", + color: "text.primary", + bgcolor: alpha(theme.palette.text.primary, 0.08), + "&:hover": { + bgcolor: alpha(theme.palette.text.primary, 0.14) + } + }} + > { if (!window.confirm(`Spende "${donation.title}" wirklich löschen?`)) { return;