Correcting some bugs in statistics.

This commit is contained in:
charles-gauthereau
2025-02-14 09:25:45 +01:00
parent 8586abf7e5
commit d0ec5902b5
7 changed files with 8 additions and 87 deletions
@@ -8,6 +8,7 @@ import {getCurrentOrganizationSlug} from "@/features/dashboard/organization-cook
export default async function RoutePage(props: PageParams<{slug: string}>) {
const {slug: organizationSlug} = await props.params
const currentOrganizationSlug = await getCurrentOrganizationSlug()
if(currentOrganizationSlug != organizationSlug) {
notFound()