diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-07-05 19:16:21 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-07-05 19:16:21 +0900 |
| commit | 972b03f8428937632c65389f960cb0d5836b9e71 (patch) | |
| tree | 3c678e8954b3683cfe54e7995fb3d1685061fac5 /packages/client/src/components | |
| parent | chore(client): tweak ui (diff) | |
| download | misskey-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.vue | 3 |
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); |