mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 16:36:35 +00:00
add documentation for k8s operator gateway api beta (#668)
This commit is contained in:
@@ -456,6 +456,7 @@ export const docsNavigation = [
|
||||
isOpen: true,
|
||||
links: [
|
||||
{ title: 'Operator', href: '/manage/integrations/kubernetes' },
|
||||
{ title: 'Gateway API beta', href: '/manage/integrations/kubernetes/gateway-api-beta' },
|
||||
],
|
||||
},
|
||||
],
|
||||
@@ -796,7 +797,7 @@ function NavigationGroup({ group, className, hasChildren }) {
|
||||
onClick={() => {
|
||||
setIsOpen(!isOpen)
|
||||
if (!isOpen) {
|
||||
if (!isActiveGroup) router.push(group.links[0].href)
|
||||
if (!isActiveGroup && group.links[0]?.href) router.push(group.links[0].href)
|
||||
setActiveHighlight()
|
||||
} else {
|
||||
setActiveHighlight(group.title)
|
||||
|
||||
Reference in New Issue
Block a user