From d9a62185242af5c45220c8749d3263812ed66f3d Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 6 Mar 2025 17:33:43 +0100 Subject: [PATCH] docs(app): dont filter components on framework in search --- docs/app/composables/useContentNavigation.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/app/composables/useContentNavigation.ts b/docs/app/composables/useContentNavigation.ts index 6346c201..579a2b40 100644 --- a/docs/app/composables/useContentNavigation.ts +++ b/docs/app/composables/useContentNavigation.ts @@ -37,10 +37,14 @@ export const useContentNavigation = (navigation: Ref { + if (child.path.startsWith('/components')) { + return true + } + if (child.framework && child.framework !== framework.value) { return false } - if (child.module && child.module !== module.value && !child.path.startsWith('/components')) { + if (child.module && child.module !== module.value) { return false } return true