mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 05:57:32 -07:00
Fetch more reactins
This commit is contained in:
parent
90469a95e4
commit
9f013934be
1 changed files with 2 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue