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:
parent
94a51fbcab
commit
4bcf572c54
7 changed files with 7 additions and 7 deletions
|
@ -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')"
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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')"
|
||||
|
|
Loading…
Reference in a new issue