Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(web): add Security and Compliance to settings nav

Richie McIlroy8782e9871413
diff --git a/apps/web/app/(org)/dashboard/settings/organization/_components/SettingsNav.tsx b/apps/web/app/(org)/dashboard/settings/organization/_components/SettingsNav.tsx
index 22b55c375..f34643478 100644
--- a/apps/web/app/(org)/dashboard/settings/organization/_components/SettingsNav.tsx
+++ b/apps/web/app/(org)/dashboard/settings/organization/_components/SettingsNav.tsx
@@ -26,7 +26,15 @@ export function SettingsNav() {
label: buildEnv.NEXT_PUBLIC_IS_CAP ? "Billing & Members" : "Members",
href: "/dashboard/settings/organization/billing",
},
- ] as const;
+ ...(buildEnv.NEXT_PUBLIC_IS_CAP
+ ? [
+ {
+ label: "Security & Compliance",
+ href: "/dashboard/settings/organization/security",
+ },
+ ]
+ : []),
+ ];
return (
<div className="flex overflow-x-auto gap-4 items-center border-b border-gray-4 custom-scroll">