fix(file): fixed file index filtering

This commit is contained in:
Marco Cavalli 2025-03-06 17:46:42 +01:00
parent d41884226d
commit 0e00207fb4
5 changed files with 25 additions and 12 deletions

View file

@ -31,7 +31,7 @@ const getItems = (page_info) => {
return axios.get(`/file`, {
params: {
page: page_info.page,
per_page: page_info.per_page,
per_page: page_info.itemsPerPage,
}
}).then((response) => {
console.log(response)
@ -66,6 +66,7 @@ const getItems = (page_info) => {
loading-text="Loading..."
:loading="items.length === 0"
@update:options="getItems"
@update:items-per-page="getItems"
disable-sort
>
</v-data-table-server>