Patching some bugs.

This commit is contained in:
charles-gauthereau
2025-01-03 15:55:16 +01:00
parent be47e9e93d
commit b59a010425
6 changed files with 24 additions and 10 deletions
@@ -27,6 +27,7 @@ export default async function RoutePage(props: PageParams<{ slug:string, project
const project = await prisma.project.findUnique({
where: {
id: projectId,
isArchived: {not: true}
},
include:{
databases: {}
@@ -25,6 +25,8 @@ export default async function RoutePage(props: PageParams<{slug: string}>) {
const projects = await prisma.project.findMany({
where: {
isArchived: {not: true},
organization: {
slug: organizationSlug,
// users: {