mirror of
https://github.com/netbirdio/docs.git
synced 2026-08-25 01:01:27 +02:00
docs: fix Client > Settings nav jumping to Manage > Peers (#750)
The Settings group header auto-navigates to its first child's href on expand. The first child was "Allow SSH" pointing to /client/allow-ssh, which redirects to /manage/peers/ssh, pulling the user out of the Client section. Reorder so real /client/ pages come first; the two redirect entries (Allow SSH, Enable Lazy Connections) stay discoverable at the bottom of the group.
This commit is contained in:
@@ -759,10 +759,6 @@ export const docsNavigation = [
|
||||
title: 'Settings',
|
||||
isOpen: false,
|
||||
links: [
|
||||
{
|
||||
title: 'Allow SSH',
|
||||
href: '/client/allow-ssh',
|
||||
},
|
||||
{
|
||||
title: 'Block Inbound Connections',
|
||||
href: '/client/block-inbound-connections',
|
||||
@@ -771,14 +767,18 @@ export const docsNavigation = [
|
||||
title: 'Connect on Startup',
|
||||
href: '/client/connect-on-startup',
|
||||
},
|
||||
{
|
||||
title: 'Enable Lazy Connections',
|
||||
href: '/client/enable-lazy-connections',
|
||||
},
|
||||
{
|
||||
title: 'Enable Quantum-Resistance',
|
||||
href: '/client/post-quantum-cryptography',
|
||||
},
|
||||
{
|
||||
title: 'Allow SSH',
|
||||
href: '/client/allow-ssh',
|
||||
},
|
||||
{
|
||||
title: 'Enable Lazy Connections',
|
||||
href: '/client/enable-lazy-connections',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user