受け入れがいいねの際も隠すように
This commit is contained in:
parent
c7b72f579c
commit
a84cae91a1
@ -471,11 +471,11 @@ if (!props.mock) {
|
|||||||
|
|
||||||
if (appearNote.value.reactionAcceptance === 'likeOnly') {
|
if (appearNote.value.reactionAcceptance === 'likeOnly') {
|
||||||
useTooltip(reactButton, async (showing) => {
|
useTooltip(reactButton, async (showing) => {
|
||||||
const reactions = await misskeyApiGet('notes/reactions', {
|
const reactions = !defaultStore.state.hideReactionUsers ? await misskeyApiGet('notes/reactions', {
|
||||||
noteId: appearNote.value.id,
|
noteId: appearNote.value.id,
|
||||||
limit: 10,
|
limit: 10,
|
||||||
_cacheKey_: appearNote.value.reactionCount,
|
_cacheKey_: appearNote.value.reactionCount,
|
||||||
});
|
}) : [];
|
||||||
|
|
||||||
const users = reactions.map(x => x.user);
|
const users = reactions.map(x => x.user);
|
||||||
|
|
||||||
|
@ -474,11 +474,11 @@ function boostVisibility() {
|
|||||||
|
|
||||||
if (appearNote.value.reactionAcceptance === 'likeOnly') {
|
if (appearNote.value.reactionAcceptance === 'likeOnly') {
|
||||||
useTooltip(reactButton, async (showing) => {
|
useTooltip(reactButton, async (showing) => {
|
||||||
const reactions = await misskeyApiGet('notes/reactions', {
|
const reactions = !defaultStore.state.hideReactionUsers ? await misskeyApiGet('notes/reactions', {
|
||||||
noteId: appearNote.value.id,
|
noteId: appearNote.value.id,
|
||||||
limit: 10,
|
limit: 10,
|
||||||
_cacheKey_: appearNote.value.reactionCount,
|
_cacheKey_: appearNote.value.reactionCount,
|
||||||
});
|
}) : [];
|
||||||
|
|
||||||
const users = reactions.map(x => x.user);
|
const users = reactions.map(x => x.user);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user