Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Show usage and billing tab on cloud only
Tuan Dang3ecfb3f9d2fc
diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsxindex 3009c07264..075c9d6a91 100644--- a/frontend/src/layouts/AppLayout/AppLayout.tsx+++ b/frontend/src/layouts/AppLayout/AppLayout.tsx@@ -272,7 +272,7 @@ export const AppLayout = ({ children }: LayoutProps) => {createNotification({ text: "Failed to create workspace", type: "error" });}};-+return (<><div className="dark hidden h-screen w-full flex-col overflow-x-hidden md:flex">@@ -604,16 +604,18 @@ export const AppLayout = ({ children }: LayoutProps) => {</MenuItem></a></Link>- <Link href={`/org/${currentOrg?.id}/billing`} passHref>- <a>- <MenuItem- isSelected={router.asPath === `/org/${currentOrg?.id}/billing`}- icon="system-outline-103-coin-cash-monetization"- >- Usage & Billing- </MenuItem>- </a>- </Link>+ {(window.location.origin.includes("https://app.infisical.com")) && (+ <Link href={`/org/${currentOrg?.id}/billing`} passHref>+ <a>+ <MenuItem+ isSelected={router.asPath === `/org/${currentOrg?.id}/billing`}+ icon="system-outline-103-coin-cash-monetization"+ >+ Usage & Billing+ </MenuItem>+ </a>+ </Link>+ )}<Link href={`/org/${currentOrg?.id}/settings`} passHref><a><MenuItem