Skip to content

Commit

Permalink
Merge pull request #3021 from akhilmhdh/fix/project-delete
Browse files Browse the repository at this point in the history
fix: resolved org sidebar not showing in org member detail window
  • Loading branch information
maidul98 authored Jan 21, 2025
2 parents 151edc7 + 63c7c39 commit 86acf88
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions frontend/src/layouts/OrganizationLayout/OrganizationLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 86acf88

Please sign in to comment.