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
fix: navbar suborgs navigation
Piyush Guptaa9f468fd0048
diff --git a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsxindex 499465f0a1..36c4e24600 100644--- a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx@@ -323,8 +323,7 @@ export const Navbar = () => {onClick={async () => {navigate({to: "/organizations/$orgId/projects",- params: { orgId: currentOrg.id },- search: (search) => ({ ...search, subOrganization: undefined })+ params: { orgId: currentOrg.id }});if (isSubOrganization) {await router.invalidate({ sync: true }).catch(() => null);@@ -409,8 +408,7 @@ export const Navbar = () => {onClick={async () => {navigate({to: "/organizations/$orgId/projects",- params: { orgId: currentOrg.id },- search: (prev) => ({ ...prev, subOrganization: subOrg.name })+ params: { orgId: subOrg.id }});await router.invalidate({ sync: true }).catch(() => null);}}@@ -514,8 +512,7 @@ export const Navbar = () => {onClick={async () => {navigate({to: "/organizations/$orgId/projects",- params: { orgId: currentOrg.id },- search: (prev) => ({ ...prev, subOrganization: subOrg.name })+ params: { orgId: subOrg.id }});await router.invalidate({ sync: true }).catch(() => null);}}