From b3db5e81efad06db253bedaf4b870b86ea79f32e Mon Sep 17 00:00:00 2001 From: Padreug Date: Thu, 21 May 2026 17:00:06 +0200 Subject: [PATCH] fix(events): inline-arrow multi-statement @update:open handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.). --- src/modules/activities/views/EventsPage.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/activities/views/EventsPage.vue b/src/modules/activities/views/EventsPage.vue index 32a11b4..c5adac0 100644 --- a/src/modules/activities/views/EventsPage.vue +++ b/src/modules/activities/views/EventsPage.vue @@ -258,10 +258,7 @@ function handleEventChanged() { :auto-approve="autoApprove" :on-create-event="handleCreateEvent" :on-update-event="handleUpdateEvent" - @update:open=" - showEventDialog = $event - handleDialogClosed() - " + @update:open="(open) => { showEventDialog = open; handleDialogClosed() }" @event-created="handleEventChanged" @event-updated="handleEventChanged" />