diff --git a/app/pages/admin/reports.vue b/app/pages/admin/reports.vue index b4b7b0a..6babc9b 100644 --- a/app/pages/admin/reports.vue +++ b/app/pages/admin/reports.vue @@ -70,11 +70,9 @@ const reportsByStatus = computed(() => .filter((item) => item.total > 0) ) -// --- INIZIO LOGICA PAGINAZIONE --- const currentPage = ref(1) const itemsPerPage = ref(12) -// Reset alla pagina 1 quando cambiano i filtri watch([search, selectedStatus, selectedCategoryId, selectedAreaId], () => { currentPage.value = 1 }) @@ -93,7 +91,6 @@ const paginatedReports = computed(() => { const handlePageChange = (page: number) => { currentPage.value = page } -// --- FINE LOGICA PAGINAZIONE --- const formatDate = (value?: string) => { if (!value) return '-' @@ -245,7 +242,6 @@ const truncate = (value?: string, max = 120) => { -