Fix group members pagination on admin group profile view

Closes #965

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-12-13 17:39:02 +01:00
parent a481413153
commit 9e8e2a97d1
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -103,7 +103,7 @@
:aria-page-label="$t('Page')" :aria-page-label="$t('Page')"
:aria-current-label="$t('Current page')" :aria-current-label="$t('Current page')"
:total="group.members.total" :total="group.members.total"
:per-page="EVENTS_PER_PAGE" :per-page="MEMBERS_PER_PAGE"
@page-change="onMembersPageChange" @page-change="onMembersPageChange"
> >
<b-table-column <b-table-column
@ -329,6 +329,8 @@ const MEMBERS_PER_PAGE = 10;
organizedEventsLimit: EVENTS_PER_PAGE, organizedEventsLimit: EVENTS_PER_PAGE,
postsPage: this.postsPage, postsPage: this.postsPage,
postsLimit: POSTS_PER_PAGE, postsLimit: POSTS_PER_PAGE,
membersLimit: MEMBERS_PER_PAGE,
membersPage: this.membersPage,
}; };
}, },
skip() { skip() {