From 007c2382dde1c1fd07cf9777798366f7e7943be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yae=CC=88l=20GUILLOUX?= Date: Sat, 22 May 2021 18:35:57 +0200 Subject: [PATCH] :fire: (navigation) remove logging --- src/core/runtime/composables/navigation.ts | 4 ---- 1 file changed, 4 deletions(-) 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]