forked from potsda.mn/mobilizon
fix(front): Fix instances list pagination
Closes #1277 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
7def6739e1
commit
8543204bd9
|
@ -66,7 +66,7 @@
|
|||
/>
|
||||
</o-field>
|
||||
</div>
|
||||
<div v-if="instances && instances.elements.length > 0" class="mt-3">
|
||||
<div v-if="instances && instances.elements.length > 0" class="my-3">
|
||||
<router-link
|
||||
:to="{
|
||||
name: RouteName.INSTANCE,
|
||||
|
@ -133,7 +133,7 @@
|
|||
<o-pagination
|
||||
v-show="instances.total > INSTANCES_PAGE_LIMIT"
|
||||
:total="instances.total"
|
||||
v-model="instancePage"
|
||||
v-model:current="instancePage"
|
||||
:per-page="INSTANCES_PAGE_LIMIT"
|
||||
:aria-next-label="t('Next page')"
|
||||
:aria-previous-label="t('Previous page')"
|
||||
|
|
Loading…
Reference in a new issue