mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Added paging to dashboard.
This commit is contained in:
parent
50b4ac9889
commit
33ffa0b3d1
6 changed files with 56 additions and 39 deletions
|
|
@ -135,6 +135,7 @@ export async function getTeams(
|
|||
...pageFilters,
|
||||
...(options?.include && { include: options?.include }),
|
||||
});
|
||||
|
||||
const count = await prisma.client.team.count({ where });
|
||||
|
||||
return { data: teams, count, ...getParameters };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue