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:
parent
1a16874d97
commit
042a765f5e
2 changed files with 4 additions and 4 deletions
packages/frontend/src/components
|
@ -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) {
|
||||
|
|
|
@ -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', {
|
||||
|
|
Loading…
Add table
Reference in a new issue