Skip to content

Commit

Permalink
Add security link in sdk nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Krawiec authored and Alex Krawiec committed Jan 29, 2025
1 parent 8ea66a6 commit edf8573
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/dynamicNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ export function DynamicNav({
const {path} = serverContext();
const isActive = path.join('/').indexOf(root) === 0;
const linkPath = `/${path.join('/')}/`;
console.log('path', path);
console.log('linkpath', linkPath);

const header =
parentNode && !noHeadingLink ? (
Expand Down Expand Up @@ -195,6 +197,13 @@ export function DynamicNav({
showDepth={showDepth}
path={linkPath}
/>
{/* see GH issue 12481 */}
{linkPath != '/security-legal-pii/security/security-policy-reporting/' && <SidebarLink
to={'/security-legal-pii/security/security-policy-reporting/'}
title={'Set Up Security Policy Reporting'}
key={'security-policy'}
path={linkPath}
/>}
</ul>
)}
</li>
Expand Down

0 comments on commit edf8573

Please sign in to comment.