diff --git a/src/app/[orgId]/settings/(private)/labels/page.tsx b/src/app/[orgId]/settings/(private)/labels/page.tsx new file mode 100644 index 000000000..54bffb3ff --- /dev/null +++ b/src/app/[orgId]/settings/(private)/labels/page.tsx @@ -0,0 +1,20 @@ +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Enterprise Licenses" +}; + +type Props = { + params: Promise<{ orgId: string }>; + searchParams: Promise>; +}; + +export const dynamic = "force-dynamic"; + +export default async function LabelsPage({ params, searchParams }: Props) { + const { orgId } = await params; + + const sp = await searchParams; + + return <>; +} diff --git a/src/app/navigation.tsx b/src/app/navigation.tsx index 3cfe867e3..6d8bffee5 100644 --- a/src/app/navigation.tsx +++ b/src/app/navigation.tsx @@ -23,6 +23,7 @@ import { Server, Settings, SquareMousePointer, + TagIcon, TicketCheck, Unplug, User, @@ -99,7 +100,7 @@ export const orgNavSections = ( href: "/{orgId}/settings/domains", icon: }, - ...(build == "saas" + ...(build === "saas" ? [ { title: "sidebarRemoteExitNodes", @@ -237,10 +238,19 @@ export const orgNavSections = ( title: "sidebarApiKeys", href: "/{orgId}/settings/api-keys", icon: - } + }, + ...(build !== "oss" + ? [ + { + title: "labels", + href: "/{orgId}/settings/labels", + icon: + } + ] + : []) ] }, - ...(build == "saas" && options?.isPrimaryOrg + ...(build === "saas" && options?.isPrimaryOrg ? [ { title: "sidebarBillingAndLicenses", diff --git a/src/components/OrgLabelsTable.tsx b/src/components/OrgLabelsTable.tsx new file mode 100644 index 000000000..bce9a91fe --- /dev/null +++ b/src/components/OrgLabelsTable.tsx @@ -0,0 +1 @@ +"use client";