fixed tickets fetching count

This commit is contained in:
Mamalizz
2025-06-04 19:13:41 +03:30
parent 5e5f9aa732
commit a3e76e5073
2 changed files with 15 additions and 12 deletions
+7 -1
View File
@@ -16,7 +16,12 @@ definePageMeta({
// state
const params = useUrlSearchParams("history") as GetAllTicketsRequest;
const params: GetAllTicketsRequest = useUrlSearchParams("history", {
initialValue: {
page: 1,
},
writeMode: "push",
});
const filters = computed(() => {
return {
@@ -236,6 +241,7 @@ const clearFilters = () => {
<Pagination
:items="paginationData"
:total="data?.count"
:per-page="7"
/>
</div>
</div>