1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-25 11:29:26 -05:00

fix disable emoji reactions

This commit is contained in:
fly_mc 2024-11-01 13:27:44 +08:00
parent 1a16874d97
commit 042a765f5e
2 changed files with 4 additions and 4 deletions
packages/frontend/src/components

View file

@ -420,7 +420,7 @@ if (!props.mock) {
});
});
if (appearNote.value.reactionAcceptance === 'likeOnly' || disableReactionsViewer) {
if (appearNote.value.reactionAcceptance === 'likeOnly' || disableReactionsViewer.value) {
useTooltip(reactButton, async (showing) => {
const reactions = await misskeyApiGet('notes/reactions', {
noteId: appearNote.value.id,
@ -500,7 +500,7 @@ function like(): void {
function react(): void {
pleaseLogin({ openOnRemote: pleaseLoginContext.value });
showMovedDialog();
if (appearNote.value.reactionAcceptance === 'likeOnly' || disableReactionsViewer) {
if (appearNote.value.reactionAcceptance === 'likeOnly' || disableReactionsViewer.value) {
sound.playMisskeySfx('reaction');
if (props.mock) {

View file

@ -427,7 +427,7 @@ useTooltip(renoteButton, async (showing) => {
});
});
if (appearNote.value.reactionAcceptance === 'likeOnly' || disableReactionsViewer) {
if (appearNote.value.reactionAcceptance === 'likeOnly' || disableReactionsViewer.value) {
useTooltip(reactButton, async (showing) => {
const reactions = await misskeyApiGet('notes/reactions', {
noteId: appearNote.value.id,
@ -495,7 +495,7 @@ function like(): void {
function react(): void {
pleaseLogin({ openOnRemote: pleaseLoginContext.value });
showMovedDialog();
if (appearNote.value.reactionAcceptance === 'likeOnly' || disableReactionsViewer) {
if (appearNote.value.reactionAcceptance === 'likeOnly' || disableReactionsViewer.value) {
sound.playMisskeySfx('reaction');
misskeyApi('notes/reactions/create', {