Skip to content

Commit

Permalink
Fix pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
samaradel committed Mar 5, 2025
1 parent ba97c0f commit f96a0c6
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
v-model="selectedItems"
:headers="headers"
:items="publicIps"
:items-length="publicIps.length"
:items-length="publicIpsCount"
:loading="loading"
v-model:items-per-page="pageSize"
@update:options="getFarmPublicIp"
:items-per-page-options="[
{ value: 5, title: '5' },
{ value: 10, title: '10' },
{ value: 20, title: '20' },
{ value: 50, title: '50' },
]"
v-model:page="page"
no-data-text="No IPs added on this farm"
:deleting="isRemoving"
show-select
Expand Down Expand Up @@ -180,6 +182,9 @@ export default {
selectedItems,
loadingIps,
getFarmPublicIp,
pageSize,
page,
publicIpsCount,
};
},
};
Expand Down

0 comments on commit f96a0c6

Please sign in to comment.