受け入れがいいねの際も隠すように

This commit is contained in:
lqvp 2024-10-05 13:29:35 +09:00 committed by hijiki
parent c7b72f579c
commit a84cae91a1
2 changed files with 4 additions and 4 deletions

View File

@ -471,11 +471,11 @@ if (!props.mock) {
if (appearNote.value.reactionAcceptance === 'likeOnly') {
useTooltip(reactButton, async (showing) => {
const reactions = await misskeyApiGet('notes/reactions', {
const reactions = !defaultStore.state.hideReactionUsers ? await misskeyApiGet('notes/reactions', {
noteId: appearNote.value.id,
limit: 10,
_cacheKey_: appearNote.value.reactionCount,
});
}) : [];
const users = reactions.map(x => x.user);

View File

@ -474,11 +474,11 @@ function boostVisibility() {
if (appearNote.value.reactionAcceptance === 'likeOnly') {
useTooltip(reactButton, async (showing) => {
const reactions = await misskeyApiGet('notes/reactions', {
const reactions = !defaultStore.state.hideReactionUsers ? await misskeyApiGet('notes/reactions', {
noteId: appearNote.value.id,
limit: 10,
_cacheKey_: appearNote.value.reactionCount,
});
}) : [];
const users = reactions.map(x => x.user);