From 2f128ff037043aac0331ff211b7ca0168d53d6bd Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Thu, 1 May 2025 19:34:36 +0200 Subject: [PATCH] fix: :bug: Fix incorrect interaction target on boosts --- components/notes/note.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/notes/note.vue b/components/notes/note.vue index 9ad60dd..a88597e 100644 --- a/components/notes/note.vue +++ b/components/notes/note.vue @@ -56,15 +56,15 @@ :reply-count="noteToUse.replies_count" :like-count="noteToUse.favourites_count" :url="url" - :api-note-string="JSON.stringify(note, null, 4)" + :api-note-string="JSON.stringify(noteToUse, null, 4)" :reblog-count="noteToUse.reblogs_count" :remote-url="noteToUse.url" :is-remote="isRemote" :author-id="noteToUse.account.id" - @edit="useEvent('composer:edit', note)" - @reply="useEvent('composer:reply', note)" - @quote="useEvent('composer:quote', note)" - @delete="useEvent('note:delete', note)" + @edit="useEvent('composer:edit', noteToUse)" + @reply="useEvent('composer:reply', noteToUse)" + @quote="useEvent('composer:quote', noteToUse)" + @delete="useEvent('note:delete', noteToUse)" :note-id="noteToUse.id" :liked="noteToUse.favourited ?? false" :reblogged="noteToUse.reblogged ?? false"