fix: ticket

This commit is contained in:
sajjadtalkhabi
2026-06-05 18:43:02 +03:30
parent 1c665830b0
commit ea562aeefa
53 changed files with 2475 additions and 859 deletions
@@ -62,14 +62,14 @@ import {
const { openModal, isModal } = useModal()
const queryClient = useQueryClient()
const filters = ref({ userName: '', status: '', fromDate: '', toDate: '' })
const filters = ref({ type: 'advise', userName: '', status: '', fromDate: '', toDate: '' })
const { pagination, setPage, reset: resetPagination } = usePagination({ page: 1, perPage: 10 })
const { data, isLoading } = useAdminConsultationsListQuery(filters, pagination, {
keepPreviousData: true,
})
const consultations = computed(() => data.value?.data ?? [])
const consultations = computed(() => data.value?.data?.items ?? [])
const paginationMeta = computed(() => ({
page: pagination.value.page,
perPage: pagination.value.perPage,