mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: org deletion
This commit is contained in:
@@ -47,7 +47,9 @@ export default async function RoutePage(props: PageParams<{ slug: string }>) {
|
||||
const organizationWithMembers = await db.query.organization.findFirst({
|
||||
where: eq(drizzleDb.schemas.organization.id, organization.id),
|
||||
with: {
|
||||
projects: true,
|
||||
projects: {
|
||||
where: eq(drizzleDb.schemas.project.isArchived, false),
|
||||
},
|
||||
members: {
|
||||
with: {
|
||||
user: true,
|
||||
|
||||
Reference in New Issue
Block a user