Ready for 1.1.3-rc.2

This commit is contained in:
charlesgauthereau
2025-11-03 11:37:14 +01:00
parent 9894e2582d
commit 9c1aa66b41
11 changed files with 451 additions and 315 deletions
@@ -8,11 +8,12 @@ import {getOrganization} from "@/lib/auth/auth";
import * as drizzleDb from "@/db";
import {DatabaseWith} from "@/db/schema/07_database";
export default async function RoutePage(props: PageParams<{ }>) {
export default async function RoutePage(props: PageParams<{}>) {
const organization = await getOrganization({});
if (!organization ) {
if (!organization) {
notFound();
}
@@ -10,6 +10,7 @@ import {notFound} from "next/navigation";
import {getActiveMember, getOrganization} from "@/lib/auth/auth";
import {EmptyStatePlaceholder} from "@/components/wrappers/common/empty-state-placeholder";
export default async function RoutePage(props: PageParams<{}>) {
const organization = await getOrganization({});
@@ -18,7 +18,6 @@ export default async function RoutePage(props: PageParams<{
where: (fields) => isNull(fields.deletedAt)
});
if (!user || !users || !organization || organization.slug == "default") {
notFound();
}