diff --git a/apps/webapp/app/models/organization.server.ts b/apps/webapp/app/models/organization.server.ts index 028c022ea..56b060950 100644 --- a/apps/webapp/app/models/organization.server.ts +++ b/apps/webapp/app/models/organization.server.ts @@ -46,7 +46,11 @@ export function getOrganizations({ userId }: { userId: User["id"] }) { include: { _count: { select: { - jobs: true, + jobs: { + where: { + internal: false, + }, + }, }, }, },