docs(app): display components in search

This commit is contained in:
Benjamin Canac
2025-03-06 11:58:30 +01:00
parent a6f58cba14
commit 196ffbc989

View File

@@ -40,7 +40,7 @@ export const useContentNavigation = (navigation: Ref<ContentNavigationItem[] | u
if (child.framework && child.framework !== framework.value) {
return false
}
if (child.module && child.module !== module.value) {
if (child.module && child.module !== module.value && !child.path.startsWith('/components')) {
return false
}
return true