add api keys to sidebar nav

This commit is contained in:
miloschwartz 2025-04-23 16:18:51 -04:00
parent 566e66daa4
commit a6d6aaaadd
No known key found for this signature in database
3 changed files with 38 additions and 11 deletions

View file

@ -6,7 +6,8 @@ import {
Link as LinkIcon,
Waypoints,
Combine,
Fingerprint
Fingerprint,
KeyRound
} from "lucide-react";
export const orgLangingNavItems: SidebarNavItem[] = [
@ -63,6 +64,12 @@ export const orgNavItems: SidebarNavItem[] = [
href: "/{orgId}/settings/share-links",
icon: <LinkIcon className="h-4 w-4" />
},
{
title: "API Keys",
href: "/{orgId}/settings/api-keys",
icon: <KeyRound className="h-4 w-4" />,
showEnterprise: true
},
{
title: "Settings",
href: "/{orgId}/settings/general",
@ -76,6 +83,12 @@ export const adminNavItems: SidebarNavItem[] = [
href: "/admin/users",
icon: <Users className="h-4 w-4" />
},
{
title: "API Keys",
href: "/{orgId}/settings/api-keys",
icon: <KeyRound className="h-4 w-4" />,
showEnterprise: true
},
{
title: "Identity Providers",
href: "/admin/idp",