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>
|
</o-field>
|
||||||
</div>
|
</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
|
<router-link
|
||||||
:to="{
|
:to="{
|
||||||
name: RouteName.INSTANCE,
|
name: RouteName.INSTANCE,
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
<o-pagination
|
<o-pagination
|
||||||
v-show="instances.total > INSTANCES_PAGE_LIMIT"
|
v-show="instances.total > INSTANCES_PAGE_LIMIT"
|
||||||
:total="instances.total"
|
:total="instances.total"
|
||||||
v-model="instancePage"
|
v-model:current="instancePage"
|
||||||
:per-page="INSTANCES_PAGE_LIMIT"
|
:per-page="INSTANCES_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')"
|
||||||
|
|
Loading…
Reference in a new issue