fix(events): inline-arrow multi-statement @update:open handler

Vue's template expression parser doesn't accept multi-line statement
bodies separated by newlines alone — it errors with 'Unexpected token,
expected ","' as it tries to parse the second statement as a
continuation of the first. Convert to the inline-arrow form already
used elsewhere in the codebase (WalletPage.vue, TaskCard.vue, etc.).
This commit is contained in:
Padreug 2026-05-21 17:00:06 +02:00
commit b3db5e81ef

View file

@ -258,10 +258,7 @@ function handleEventChanged() {
:auto-approve="autoApprove" :auto-approve="autoApprove"
:on-create-event="handleCreateEvent" :on-create-event="handleCreateEvent"
:on-update-event="handleUpdateEvent" :on-update-event="handleUpdateEvent"
@update:open=" @update:open="(open) => { showEventDialog = open; handleDialogClosed() }"
showEventDialog = $event
handleDialogClosed()
"
@event-created="handleEventChanged" @event-created="handleEventChanged"
@event-updated="handleEventChanged" @event-updated="handleEventChanged"
/> />