new features
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user