mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 22:28:47 +00:00
fix: correct display org sidebar check
This commit is contained in:
@@ -32,7 +32,9 @@ export const OrganizationLayout = () => {
|
||||
|
||||
const { t } = useTranslation();
|
||||
|
||||
const shouldShowOrgSidebar = !(
|
||||
const shouldShowOrgSidebar =
|
||||
location.pathname.startsWith("/organization") &&
|
||||
!(
|
||||
[
|
||||
linkOptions({ to: "/organization/secret-manager/overview" }).to,
|
||||
linkOptions({ to: "/organization/cert-manager/overview" }).to,
|
||||
|
||||
Reference in New Issue
Block a user