fix: resolved org sidebar not showing in member detail window and other detail window

This commit is contained in:
=
2025-01-22 01:39:44 +05:30
parent f1b2028542
commit 63c7c39e21

View File

@@ -32,11 +32,14 @@ export const OrganizationLayout = () => {
const { t } = useTranslation();
const shouldShowOrgSidebar = (
const shouldShowOrgSidebar = !(
[
linkOptions({ to: "/organization/access-management" }).to,
linkOptions({ to: "/organization/settings" }).to,
linkOptions({ to: "/organization/audit-logs" }).to
linkOptions({ to: "/organization/secret-manager/overview" }).to,
linkOptions({ to: "/organization/cert-manager/overview" }).to,
linkOptions({ to: "/organization/ssh/overview" }).to,
linkOptions({ to: "/organization/kms/overview" }).to,
linkOptions({ to: "/organization/secret-scanning" }).to,
linkOptions({ to: "/organization/secret-sharing" }).to
] as string[]
).includes(location.pathname);