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 committed by tykayn
parent ddadf4c3d4
commit 36f19916b5
1 changed files with 3 additions and 1 deletions

View File

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