🚧 wip: org labels page

This commit is contained in:
Fred KISSIE
2026-05-14 19:31:53 +02:00
parent 4334480675
commit 8f7e5ab1ed
3 changed files with 34 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Enterprise Licenses"
};
type Props = {
params: Promise<{ orgId: string }>;
searchParams: Promise<Record<string, string>>;
};
export const dynamic = "force-dynamic";
export default async function LabelsPage({ params, searchParams }: Props) {
const { orgId } = await params;
const sp = await searchParams;
return <></>;
}

View File

@@ -23,6 +23,7 @@ import {
Server, Server,
Settings, Settings,
SquareMousePointer, SquareMousePointer,
TagIcon,
TicketCheck, TicketCheck,
Unplug, Unplug,
User, User,
@@ -99,7 +100,7 @@ export const orgNavSections = (
href: "/{orgId}/settings/domains", href: "/{orgId}/settings/domains",
icon: <Globe className="size-4 flex-none" /> icon: <Globe className="size-4 flex-none" />
}, },
...(build == "saas" ...(build === "saas"
? [ ? [
{ {
title: "sidebarRemoteExitNodes", title: "sidebarRemoteExitNodes",
@@ -237,10 +238,19 @@ export const orgNavSections = (
title: "sidebarApiKeys", title: "sidebarApiKeys",
href: "/{orgId}/settings/api-keys", href: "/{orgId}/settings/api-keys",
icon: <KeyRound className="size-4 flex-none" /> icon: <KeyRound className="size-4 flex-none" />
} },
...(build !== "oss"
? [
{
title: "labels",
href: "/{orgId}/settings/labels",
icon: <TagIcon className="size-4 flex-none" />
}
]
: [])
] ]
}, },
...(build == "saas" && options?.isPrimaryOrg ...(build === "saas" && options?.isPrimaryOrg
? [ ? [
{ {
title: "sidebarBillingAndLicenses", title: "sidebarBillingAndLicenses",

View File

@@ -0,0 +1 @@
"use client";