diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-11-12 22:53:06 +0100 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-11-12 22:53:06 +0100 |
| commit | d2e403a4bd62a5e6d863f039e3bdfe5473274c19 (patch) | |
| tree | c3c61938959d2f5fdb3418d1fa590305b33d3b7d /packages/frontend/src/components | |
| parent | fix: like not being set (diff) | |
| download | sharkey-d2e403a4bd62a5e6d863f039e3bdfe5473274c19.tar.gz sharkey-d2e403a4bd62a5e6d863f039e3bdfe5473274c19.tar.bz2 sharkey-d2e403a4bd62a5e6d863f039e3bdfe5473274c19.zip | |
fix: NoteDetailed using wrong value
Diffstat (limited to 'packages/frontend/src/components')
| -rw-r--r-- | packages/frontend/src/components/MkNoteDetailed.vue | 4 |
1 files 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) { |