Merge branch 'main' into 'main'
fix: bind pagination current prop Closes #1088 et #1152 See merge request framasoft/mobilizon!1382
This commit is contained in:
commit
7b796a1d3a
|
@ -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