summaryrefslogtreecommitdiff
path: root/packages/client/src/components
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-07-05 19:16:21 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-07-05 19:16:21 +0900
commit972b03f8428937632c65389f960cb0d5836b9e71 (patch)
tree3c678e8954b3683cfe54e7995fb3d1685061fac5 /packages/client/src/components
parentchore(client): tweak ui (diff)
downloadmisskey-972b03f8428937632c65389f960cb0d5836b9e71.tar.gz
misskey-972b03f8428937632c65389f960cb0d5836b9e71.tar.bz2
misskey-972b03f8428937632c65389f960cb0d5836b9e71.zip
perf: allow get for notes/reactions
Diffstat (limited to 'packages/client/src/components')
-rw-r--r--packages/client/src/components/reactions-viewer.reaction.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/client/src/components/reactions-viewer.reaction.vue b/packages/client/src/components/reactions-viewer.reaction.vue
index ee40615f16..c29bd46400 100644
--- a/packages/client/src/components/reactions-viewer.reaction.vue
+++ b/packages/client/src/components/reactions-viewer.reaction.vue
@@ -70,10 +70,11 @@ onMounted(() => {
});
useTooltip(buttonRef, async (showing) => {
- const reactions = await os.api('notes/reactions', {
+ const reactions = await os.apiGet('notes/reactions', {
noteId: props.note.id,
type: props.reaction,
limit: 11,
+ _cacheKey_: props.count,
});
const users = reactions.map(x => x.user);