Beschreibung allgemeiner Spenden bearbeiten
CI / Build and Deploy (push) Successful in 2m27s

This commit is contained in:
jan
2026-05-29 17:35:36 +02:00
parent 6dece8256f
commit 1f06fab8d7
@@ -3430,6 +3430,11 @@ export function DashboardShell({
{currencyFormatter.format(donation.amount)}
{donation.expenseTitle ? ` · ${donation.expenseTitle}` : ""}
</Typography>
{donation.description ? (
<Typography variant="body2" sx={{ mt: 0.4, whiteSpace: "pre-line", overflowWrap: "break-word" }}>
{donation.description}
</Typography>
) : null}
</Box>
<Stack direction="row" gap={0.5}>
<IconButton size="small" disabled={busy} onClick={() => setEditingDonationId(donation.id)}>
@@ -3473,6 +3478,15 @@ export function DashboardShell({
onChange={(event) => updateDonationDraft(donation, { amount: event.target.value })}
fullWidth
/>
<TextField
label="Beschreibung"
size="small"
value={draft.description}
onChange={(event) => updateDonationDraft(donation, { description: event.target.value })}
fullWidth
multiline
minRows={2}
/>
<TextField
label="Spendendatum"
type="date"