diff --git a/src/core/runtime/composables/navigation.ts b/src/core/runtime/composables/navigation.ts index abcbc4cda..4efd23bc4 100644 --- a/src/core/runtime/composables/navigation.ts +++ b/src/core/runtime/composables/navigation.ts @@ -40,14 +40,10 @@ export const useDocusNavigation = ({ $nuxt, context, state, api }: DocusAddonCon let items = nav if (from) { - console.log('from:', from) - const paths = from.split('/') from = paths.slice(0, paths.length - 1).join('/') - console.log('from, then:', from) - const link = items.find(link => link.to === from) if (link && (link.navigation as NavItemNavigationConfig).exclusive) items = [link]