mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 22:03:08 +02:00
fix: NoteDetailed using wrong value
This commit is contained in:
parent
430a96ebdb
commit
d2e403a4bd
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue