diff --git a/apps/dashboard/app/(app)/identities/[identityId]/page.tsx b/apps/dashboard/app/(app)/identities/[identityId]/page.tsx index 0a0ebdc191..d7694e597e 100644 --- a/apps/dashboard/app/(app)/identities/[identityId]/page.tsx +++ b/apps/dashboard/app/(app)/identities/[identityId]/page.tsx @@ -36,6 +36,7 @@ export default async function Page(props: Props) { }, }, keys: { + where: (table, { isNull }) => isNull(table.deletedAt), with: { keyAuth: { with: {