Added paging to dashboard.
This commit is contained in:
1 parent
50b4ac9889
commit
33ffa0b3d1
6 files changed
+56
-39
No files matched your search
@@ -142,6 +142,7 @@ export async function getReports(
|
||||
...pageFilters,
|
||||
...(options?.include && { include: options.include }),
|
||||
});
|
||||
|
||||
const count = await prisma.client.report.count({
|
||||
where,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user