Update some server stat fields

This commit is contained in:
iamBadgers
2024-06-12 00:05:27 -07:00
parent 981efcadb2
commit 162f25d859
4 changed files with 11 additions and 14 deletions

View File

@@ -74,15 +74,9 @@ const filtervalue = ref<string>('')
async function loadData({ page, itemsPerPage, sortBy }: any) {
let sortString = 'id'
if (sortBy[0]) {
console.log(sortBy[0].key)
console.log(sortBy[0].order)
sortString = `${sortBy[0].key} ${sortBy[0].order}`
}
console.log(page)
console.log(itemsPerPage)
console.log(sortBy)
const response = await axios.post('/api/game', {
page: `${page - 1}`,
count: `${itemsPerPage}`,