summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-09-03 07:15:53 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-09-03 07:15:53 +0900
commitf36d88246a3f5204777ff04778d953f6d040d500 (patch)
tree8d9f11494def45e10aa348d5232b4b04b7a22cbc /src/client/app
parent11.31.2 (diff)
downloadsharkey-f36d88246a3f5204777ff04778d953f6d040d500.tar.gz
sharkey-f36d88246a3f5204777ff04778d953f6d040d500.tar.bz2
sharkey-f36d88246a3f5204777ff04778d953f6d040d500.zip
Fetch more reactins
Diffstat (limited to 'src/client/app')
-rw-r--r--src/client/app/common/views/components/reactions-viewer.reaction.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/reactions-viewer.reaction.vue b/src/client/app/common/views/components/reactions-viewer.reaction.vue
index 12388d9828..c06430e5eb 100644
--- a/src/client/app/common/views/components/reactions-viewer.reaction.vue
+++ b/src/client/app/common/views/components/reactions-viewer.reaction.vue
@@ -101,7 +101,8 @@ export default Vue.extend({
openDetails() {
if (this.$root.isMobile) return;
this.$root.api('notes/reactions', {
- noteId: this.note.id
+ noteId: this.note.id,
+ limit: 30
}).then((reactions: any[]) => {
const users = reactions.filter(x => x.type === this.reaction)
.sort((a, b) => new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime())