Working on statistics

This commit is contained in:
charlesgauthereau
2025-08-02 11:14:51 +02:00
parent 13241811d0
commit d13e4b7d40
26 changed files with 641 additions and 119 deletions
@@ -27,7 +27,7 @@ export default async function RoutePage(props: PageParams<{ }>) {
},
orderBy: (db, {desc}) => [desc(db.createdAt)],
})
).filter((db) => db.project !== null) as DatabaseWith[];
).filter((db) => db.project == null) as DatabaseWith[];
const org = await db.query.organization.findFirst({
where: eq(drizzleDb.schemas.organization.slug, organization.slug),
@@ -35,6 +35,8 @@ export default async function RoutePage(props: PageParams<{ }>) {
if (!org) notFound();
console.log("ici",availableDatabases)
return (
<Page>
<PageHeader>