feat(journey-editor): JourneyEditor frontend — issue #753 #792

Merged
marcel merged 92 commits from feat/issue-753-journey-editor into feat/issue-750-lesereisen-data-model 2026-06-11 12:07:23 +02:00
Showing only changes of commit 55989058a5 - Show all commits

View File

@@ -43,10 +43,18 @@ async function handleNoteBlur() {
} }
async function handleNoteRemove() { async function handleNoteRemove() {
const prevDraft = noteDraft;
const prevShowNote = showNote;
noteDraft = ''; noteDraft = '';
showNote = false; showNote = false;
noteError = ''; noteError = '';
try {
await onNotePatch(null); await onNotePatch(null);
} catch {
noteDraft = prevDraft;
showNote = prevShowNote;
noteError = m.journey_note_error();
}
} }
function handleRemoveClick() { function handleRemoveClick() {