mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-25 15:46:39 +09:00
Fetch more reactins
This commit is contained in:
parent
03f87140b3
commit
f36d88246a
@ -101,7 +101,8 @@ export default Vue.extend({
|
|||||||
openDetails() {
|
openDetails() {
|
||||||
if (this.$root.isMobile) return;
|
if (this.$root.isMobile) return;
|
||||||
this.$root.api('notes/reactions', {
|
this.$root.api('notes/reactions', {
|
||||||
noteId: this.note.id
|
noteId: this.note.id,
|
||||||
|
limit: 30
|
||||||
}).then((reactions: any[]) => {
|
}).then((reactions: any[]) => {
|
||||||
const users = reactions.filter(x => x.type === this.reaction)
|
const users = reactions.filter(x => x.type === this.reaction)
|
||||||
.sort((a, b) => new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime())
|
.sort((a, b) => new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime())
|
||||||
|
Loading…
Reference in New Issue
Block a user