fix: chat in reports/[id]

This commit is contained in:
2026-06-17 23:31:10 +02:00 Unverified
parent edf7b4b329
commit b72a2ef365
3 changed files with 46 additions and 77 deletions
+3 -3
View File
@@ -44,11 +44,11 @@ const { data: reportsRes, pending } = useAsyncData(
action-label="Apri segnalazione"
/>
<Pagination
v-if="reportsRes.total > perPage"
<Pagination
v-if="(reportsRes.total || 0) > perPage"
:current-page="page"
:per-page="perPage"
:total-items="reportsRes.total"
:total-items="reportsRes.total!"
@page-change="page = $event"
/>
</div>