diff --git a/src/pages/dashboard/objekte/index.astro b/src/pages/dashboard/objekte/index.astro index 58f3f013..b09676a4 100644 --- a/src/pages/dashboard/objekte/index.astro +++ b/src/pages/dashboard/objekte/index.astro @@ -12,7 +12,7 @@ if (!user) { const totalPageCount = await prisma.aufnahme.count({ where: - ((user.rolle !== Enums.BenutzerRolle.ADMIN) && (user.rolle !== Enums.BenutzerRolle.RESELLER)) + (user.rolle !== Enums.BenutzerRolle.ADMIN) ? { benutzer: { id: user.id,