From 35e8a62dedd899811eb815ce711c36368db937b6 Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 29 May 2026 17:55:02 +0200 Subject: [PATCH] Allgemeine Spendenkarte aufraeumen --- src/components/dashboard/dashboard-shell.tsx | 34 +++++++++++++++++--- 1 file changed, 29 insertions(+), 5 deletions(-) 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;