diff --git a/docs-website/src/components/SecondNavbar/SecondNavbar.js b/docs-website/src/components/SecondNavbar/SecondNavbar.js index e17a3bceb1d93d..385148e625770b 100644 --- a/docs-website/src/components/SecondNavbar/SecondNavbar.js +++ b/docs-website/src/components/SecondNavbar/SecondNavbar.js @@ -11,6 +11,10 @@ function SecondNavbarContent() { const { colorMode, setColorMode } = useColorMode(); const location = useLocation(); const isDocsPath = location.pathname.startsWith('/docs'); + + const isAcrylSidebar = location.pathname.includes('/managed-datahub'); + const isCoreSidebar = !isAcrylSidebar; + if (!isDocsPath) { return null; } @@ -18,6 +22,20 @@ function SecondNavbarContent() { return (