fixed tickets fetching count
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user