fix: like not being set
This commit is contained in:
parent
f0a2ce00e7
commit
430a96ebdb
|
@ -534,7 +534,7 @@ function react(viaKeyboard = false): void {
|
|||
|
||||
os.api('notes/reactions/create', {
|
||||
noteId: appearNote.id,
|
||||
reaction: '❤️',
|
||||
reaction: props.meta.defaultLike,
|
||||
});
|
||||
const el = reactButton.value as HTMLElement | null | undefined;
|
||||
if (el) {
|
||||
|
|
|
@ -558,7 +558,7 @@ function react(viaKeyboard = false): void {
|
|||
if (appearNote.reactionAcceptance === 'likeOnly') {
|
||||
os.api('notes/reactions/create', {
|
||||
noteId: appearNote.id,
|
||||
reaction: '❤️',
|
||||
reaction: props.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: '❤️',
|
||||
reaction: props.meta.defaultLike,
|
||||
});
|
||||
const el = likeButton.value as HTMLElement | null | undefined;
|
||||
if (el) {
|
||||
|
|
|
@ -189,7 +189,7 @@ function react(viaKeyboard = false): void {
|
|||
if (props.note.reactionAcceptance === 'likeOnly') {
|
||||
os.api('notes/reactions/create', {
|
||||
noteId: props.note.id,
|
||||
reaction: '❤️',
|
||||
reaction: props.meta.defaultLike,
|
||||
});
|
||||
const el = reactButton.value as HTMLElement | null | undefined;
|
||||
if (el) {
|
||||
|
|
Loading…
Reference in New Issue