1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-27 02:10:27 +00:00

fix: bind pagination current prop

Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
This commit is contained in:
Hugo Renard 2023-05-02 14:52:10 +02:00
parent 94a51fbcab
commit 4bcf572c54
No known key found for this signature in database
GPG key ID: 3A285FD470209C59
7 changed files with 7 additions and 7 deletions

View file

@ -50,7 +50,7 @@
<o-pagination
v-if="resource.children && resource.children.total > RESOURCES_PER_PAGE"
:total="resource.children.total"
v-model="page"
v-model:current="page"
size="small"
:per-page="RESOURCES_PER_PAGE"
:aria-next-label="t('Next page')"

View file

@ -45,7 +45,7 @@
v-show="group.discussions.total > DISCUSSIONS_PER_PAGE"
class="discussion-pagination"
:total="group.discussions.total"
v-model="page"
v-model:current="page"
:per-page="DISCUSSIONS_PER_PAGE"
:aria-next-label="t('Next page')"
:aria-previous-label="t('Previous page')"

View file

@ -33,7 +33,7 @@
<o-pagination
:total="membershipsPages.total"
v-show="membershipsPages.total > limit"
v-model="page"
v-model:current="page"
:per-page="limit"
:aria-next-label="t('Next page')"
:aria-previous-label="t('Previous page')"

View file

@ -417,7 +417,7 @@
</ul>
<o-pagination
:total="actionLogs.total"
v-model="page"
v-model:current="page"
:per-page="LOGS_PER_PAGE"
:aria-next-label="$t('Next page')"
:aria-previous-label="$t('Previous page')"

View file

@ -72,7 +72,7 @@
</div>
<o-pagination
:total="reports.total"
v-model="page"
v-model:current="page"
:simple="true"
:per-page="REPORT_PAGE_LIMIT"
:aria-next-label="t('Next page')"

View file

@ -57,7 +57,7 @@
</o-notification>
<o-pagination
:total="group.posts.total"
v-model="postsPage"
v-model:current="postsPage"
:per-page="POSTS_PAGE_LIMIT"
:aria-next-label="$t('Next page')"
:aria-previous-label="$t('Previous page')"

View file

@ -46,7 +46,7 @@
<o-pagination
v-if="resource.children.total > RESOURCES_PER_PAGE"
:total="resource.children.total"
v-model="page"
v-model:current="page"
:per-page="RESOURCES_PER_PAGE"
:aria-next-label="t('Next page')"
:aria-previous-label="t('Previous page')"