From d2e403a4bd62a5e6d863f039e3bdfe5473274c19 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sun, 12 Nov 2023 22:53:06 +0100 Subject: [PATCH] fix: NoteDetailed using wrong value --- packages/frontend/src/components/MkNoteDetailed.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index d6e54902e0..88773bdf03 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -558,7 +558,7 @@ function react(viaKeyboard = false): void { if (appearNote.reactionAcceptance === 'likeOnly') { os.api('notes/reactions/create', { noteId: appearNote.id, - reaction: props.meta.defaultLike, + reaction: meta.defaultLike, }); const el = reactButton.value as HTMLElement | null | undefined; if (el) { @@ -588,7 +588,7 @@ function like(): void { showMovedDialog(); os.api('notes/reactions/create', { noteId: appearNote.id, - reaction: props.meta.defaultLike, + reaction: meta.defaultLike, }); const el = likeButton.value as HTMLElement | null | undefined; if (el) {