forked from potsda.mn/mobilizon
fix: bind pagination current prop
Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
This commit is contained in:
parent
94a51fbcab
commit
4bcf572c54
|
@ -50,7 +50,7 @@
|
||||||
<o-pagination
|
<o-pagination
|
||||||
v-if="resource.children && resource.children.total > RESOURCES_PER_PAGE"
|
v-if="resource.children && resource.children.total > RESOURCES_PER_PAGE"
|
||||||
:total="resource.children.total"
|
:total="resource.children.total"
|
||||||
v-model="page"
|
v-model:current="page"
|
||||||
size="small"
|
size="small"
|
||||||
:per-page="RESOURCES_PER_PAGE"
|
:per-page="RESOURCES_PER_PAGE"
|
||||||
:aria-next-label="t('Next page')"
|
:aria-next-label="t('Next page')"
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
v-show="group.discussions.total > DISCUSSIONS_PER_PAGE"
|
v-show="group.discussions.total > DISCUSSIONS_PER_PAGE"
|
||||||
class="discussion-pagination"
|
class="discussion-pagination"
|
||||||
:total="group.discussions.total"
|
:total="group.discussions.total"
|
||||||
v-model="page"
|
v-model:current="page"
|
||||||
:per-page="DISCUSSIONS_PER_PAGE"
|
:per-page="DISCUSSIONS_PER_PAGE"
|
||||||
:aria-next-label="t('Next page')"
|
:aria-next-label="t('Next page')"
|
||||||
:aria-previous-label="t('Previous page')"
|
:aria-previous-label="t('Previous page')"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<o-pagination
|
<o-pagination
|
||||||
:total="membershipsPages.total"
|
:total="membershipsPages.total"
|
||||||
v-show="membershipsPages.total > limit"
|
v-show="membershipsPages.total > limit"
|
||||||
v-model="page"
|
v-model:current="page"
|
||||||
:per-page="limit"
|
:per-page="limit"
|
||||||
:aria-next-label="t('Next page')"
|
:aria-next-label="t('Next page')"
|
||||||
:aria-previous-label="t('Previous page')"
|
:aria-previous-label="t('Previous page')"
|
||||||
|
|
|
@ -417,7 +417,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
<o-pagination
|
<o-pagination
|
||||||
:total="actionLogs.total"
|
:total="actionLogs.total"
|
||||||
v-model="page"
|
v-model:current="page"
|
||||||
:per-page="LOGS_PER_PAGE"
|
:per-page="LOGS_PER_PAGE"
|
||||||
:aria-next-label="$t('Next page')"
|
:aria-next-label="$t('Next page')"
|
||||||
:aria-previous-label="$t('Previous page')"
|
:aria-previous-label="$t('Previous page')"
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
</div>
|
</div>
|
||||||
<o-pagination
|
<o-pagination
|
||||||
:total="reports.total"
|
:total="reports.total"
|
||||||
v-model="page"
|
v-model:current="page"
|
||||||
:simple="true"
|
:simple="true"
|
||||||
:per-page="REPORT_PAGE_LIMIT"
|
:per-page="REPORT_PAGE_LIMIT"
|
||||||
:aria-next-label="t('Next page')"
|
:aria-next-label="t('Next page')"
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
</o-notification>
|
</o-notification>
|
||||||
<o-pagination
|
<o-pagination
|
||||||
:total="group.posts.total"
|
:total="group.posts.total"
|
||||||
v-model="postsPage"
|
v-model:current="postsPage"
|
||||||
:per-page="POSTS_PAGE_LIMIT"
|
:per-page="POSTS_PAGE_LIMIT"
|
||||||
:aria-next-label="$t('Next page')"
|
:aria-next-label="$t('Next page')"
|
||||||
:aria-previous-label="$t('Previous page')"
|
:aria-previous-label="$t('Previous page')"
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
<o-pagination
|
<o-pagination
|
||||||
v-if="resource.children.total > RESOURCES_PER_PAGE"
|
v-if="resource.children.total > RESOURCES_PER_PAGE"
|
||||||
:total="resource.children.total"
|
:total="resource.children.total"
|
||||||
v-model="page"
|
v-model:current="page"
|
||||||
:per-page="RESOURCES_PER_PAGE"
|
:per-page="RESOURCES_PER_PAGE"
|
||||||
:aria-next-label="t('Next page')"
|
:aria-next-label="t('Next page')"
|
||||||
:aria-previous-label="t('Previous page')"
|
:aria-previous-label="t('Previous page')"
|
||||||
|
|
Loading…
Reference in a new issue