fix: Preserve eventId in EventEditorPage so editing existing events performs PATCH instead of creating new events
This commit is contained in:
@@ -378,6 +378,7 @@ export default function App() {
|
||||
|
||||
showNotification(eventPayload.id ? 'Veranstaltung & Schichten aktualisiert!' : 'Veranstaltung erfolgreich erstellt!');
|
||||
await refreshEvents();
|
||||
setEventToEdit(null);
|
||||
handleSelectEvent(targetEventId);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user