new features

This commit is contained in:
Matthias Hochmeister
2026-03-23 15:07:17 +01:00
parent 34ee80b8c1
commit bfcf1556da
22 changed files with 397 additions and 75 deletions

View File

@@ -598,6 +598,7 @@ function EventFormDialog({
max_teilnehmer: null,
anmeldung_erforderlich: editingEvent.anmeldung_erforderlich,
anmeldung_bis: null,
wiederholung: editingEvent.wiederholung ?? undefined,
});
} else {
const now = new Date();
@@ -927,10 +928,15 @@ function EventFormDialog({
fullWidth
/>
{/* Recurrence / Wiederholung — only for new events */}
{!editingEvent && (
{/* Recurrence / Wiederholung — for new events or when editing a parent event */}
{(!editingEvent || (editingEvent.wiederholung && !editingEvent.wiederholung_parent_id)) && (
<>
<Divider />
{editingEvent && (
<Typography variant="caption" color="text.secondary">
Änderungen an der Wiederholung werden alle bestehenden Instanzen löschen und neu generieren.
</Typography>
)}
<FormControlLabel
control={
<Switch