Fix Like button not working on renotes/boosts (#36)
This commit is contained in:
parent
e3744d424d
commit
70495aea4e
2 changed files with 2 additions and 2 deletions
|
@ -373,7 +373,7 @@ function like(): void {
|
|||
pleaseLogin();
|
||||
showMovedDialog();
|
||||
os.api('notes/reactions/create', {
|
||||
noteId: props.note.id,
|
||||
noteId: appearNote.id,
|
||||
reaction: '❤️',
|
||||
});
|
||||
const el = likeButton.value as HTMLElement | null | undefined;
|
||||
|
|
|
@ -440,7 +440,7 @@ function like(): void {
|
|||
pleaseLogin();
|
||||
showMovedDialog();
|
||||
os.api('notes/reactions/create', {
|
||||
noteId: props.note.id,
|
||||
noteId: appearNote.id,
|
||||
reaction: '❤️',
|
||||
});
|
||||
const el = likeButton.value as HTMLElement | null | undefined;
|
||||
|
|
Loading…
Reference in a new issue