mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 20:27:43 +00:00
Merge pull request #3023 from Infisical/fix-org-sidebar-check
Fix: Correct Display Org Sidebar Check
This commit is contained in:
@@ -32,7 +32,9 @@ export const OrganizationLayout = () => {
|
|||||||
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const shouldShowOrgSidebar = !(
|
const shouldShowOrgSidebar =
|
||||||
|
location.pathname.startsWith("/organization") &&
|
||||||
|
!(
|
||||||
[
|
[
|
||||||
linkOptions({ to: "/organization/secret-manager/overview" }).to,
|
linkOptions({ to: "/organization/secret-manager/overview" }).to,
|
||||||
linkOptions({ to: "/organization/cert-manager/overview" }).to,
|
linkOptions({ to: "/organization/cert-manager/overview" }).to,
|
||||||
|
|||||||
Reference in New Issue
Block a user